build scripts vg2
authorhgn <hgodden00@gmail.com>
Thu, 30 May 2024 20:47:53 +0000 (21:47 +0100)
committerhgn <hgodden00@gmail.com>
Thu, 30 May 2024 20:47:53 +0000 (21:47 +0100)
build.c

diff --git a/build.c b/build.c
index 42a9ff790e4bcb54e0595661e88053ad563c87b3..28795544c1ff9ff9617c5d3c38e63ba5f72efd18 100644 (file)
--- a/build.c
+++ b/build.c
@@ -60,13 +60,13 @@ void s_release_all(void)
    struct vg_compiler_env env = vg_release_env;
 
    env.platform = k_platform_linux;
-   vg_project_init( &linux_proj, "bin", "marblecomp", 1 );
+   vg_project_init( &linux_proj, "bin", "marblecomp", &env, 1 );
    build_game_content( &linux_proj );
    build_game_bin( &linux_proj, &env );
 
    env = vg_release_env;
    env.platform = k_platform_windows;
-   vg_project_init( &windows_proj, "bin", "marblecomp", 1 );
+   vg_project_init( &windows_proj, "bin", "marblecomp", &env, 1 );
    build_game_content( &windows_proj );
    build_game_bin( &windows_proj, &env );
 
@@ -79,7 +79,7 @@ void s_testing_build(void)
    vg_info( "running script: s_testing_build(void)\n" );
 
    struct vg_project proj;
-   vg_project_init( &proj, "bin", "marblecomp-test", 0 );
+   vg_project_init( &proj, "bin", "marblecomp-test", NULL, 0 );
    build_game_content( &proj );
    build_game_bin( &proj, &vg_test_env );
 }