bb0b343c8ae4eec5391c7255c2c25f3ce680931b
1 #include "vg/vg_build.h"
2 #include "vg/vg_build_utils_shader.h"
4 void s_lab_physics(void){
5 vg_info( "running script: s_lab_physics(void)\n" );
7 vg_build
.platform
= k_platform_linux
;
8 vg_build
.arch
= k_architecture_x86_64
;
9 vg_build
.compiler
= k_compiler_clang
;
10 vg_build
.libc
= k_libc_version_native
;
12 vg_build_new( "physics" );
13 vg_add_source( "physics.c" );
16 vg_compile( "physics" );
17 vg_success( "Completed 1/1\n" );
20 int main( int argc
, char *argv
[] ){
22 while( vg_argp( argc
, argv
) ){
23 if( vg_long_opt( "physics" ) )
27 vg_build
.optimization
= 3;
30 if( vg_build
.warnings
)
31 vg_warn( "Finished with %u warnings\n", vg_build
.warnings
);
33 vg_success( "All scripts ran successfully\n" );