array
This commit is contained in:
23
build_file.c
23
build_file.c
@@ -41,19 +41,18 @@ void build_testing_target(void) {
|
||||
|
||||
ok = os_systemf("testing.exe");
|
||||
if (ok != 0) exit(ok);
|
||||
} else {
|
||||
int ok = os_systemf(
|
||||
"clang ../src/testing/testing_main.c -o testing.exe -g -I ../src"
|
||||
" -fdiagnostics-absolute-paths -Wno-unsequenced -Wno-single-bit-bitfield-constant-conversion"
|
||||
" -lm -ldl"
|
||||
);
|
||||
if (ok != 0) exit(ok);
|
||||
|
||||
return;
|
||||
ok = os_systemf("./testing.exe");
|
||||
if (ok != 0) exit(ok);
|
||||
}
|
||||
|
||||
int ok = os_systemf(
|
||||
"clang ../src/testing/testing_main.c -o testing.exe -g -I ../src"
|
||||
" -fdiagnostics-absolute-paths -Wno-unsequenced -Wno-single-bit-bitfield-constant-conversion"
|
||||
" -lm -ldl"
|
||||
);
|
||||
if (ok != 0) exit(ok);
|
||||
|
||||
ok = os_systemf("./testing.exe");
|
||||
if (ok != 0) exit(ok);
|
||||
}
|
||||
|
||||
void build_win32_app_base_target(void) {
|
||||
@@ -165,13 +164,13 @@ int main(int argc, char **argv) {
|
||||
generate_testing_code(tcx->temp);
|
||||
generate_text_editor_code(tcx->temp);
|
||||
|
||||
b32 run_server = false;
|
||||
b32 run_win32_app_base_target = true;
|
||||
b32 run_testing_target = true;
|
||||
b32 run_text_editor_dll_target = false;
|
||||
b32 run_text_editor_dll_target = true;
|
||||
b32 run_prototype_dll_target = false;
|
||||
b32 run_prototype_wasm_target = false;
|
||||
b32 run_prototype_standalone_target = false;
|
||||
b32 run_server = false;
|
||||
|
||||
if (run_server) {
|
||||
os_systemf("start /D ..\\package ..\\package\\run_server.bat");
|
||||
|
||||
Reference in New Issue
Block a user