File tree Expand file tree Collapse file tree 4 files changed +488
-38
lines changed
Expand file tree Collapse file tree 4 files changed +488
-38
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,6 @@ if "%opengl%"=="1" set auto_compile_flags=%auto_compile_flags%
4747if " %dwarf% " == " 1" if " %clang% " == " 1" set auto_compile_flags = %auto_compile_flags% -gdwarf && echo [dwarf debug info]
4848if " %dwarf% " == " " if " %clang% " == " 1" set auto_compile_flags = %auto_compile_flags% -gcodeview
4949if " %pgo% " == " 1" (
50- if " %no_meta% " == " " echo ERROR: PGO build must have no_meta argument || exit /b 1
5150 where llvm-profdata /q || echo llvm-profdata is not in the PATH || exit /b 1
5251 if " %clang% " == " 1" (
5352 if " %pgo_run% " == " 1" (
@@ -120,8 +119,8 @@ for /f %%i in ('call git describe --always --dirty') do set compile=%compile%
120119for /f %%i in ('call git rev-parse HEAD') do set compile = %compile% -DBUILD_GIT_HASH_FULL=\" %%i \"
121120
122121:: --- Build & Run Metaprogram ------------------------------------------------
123- if " %no_meta % " == " 1" echo [skipping metagen]
124- if not " %no_meta% " == " 1 " (
122+ if " %meta % " == " 1" (
123+ echo [doing metagen]
125124 pushd build
126125 %compile_debug% ..\src\metagen\metagen_main.c %compile_link% %out% metagen.exe || exit /b 1
127126 metagen.exe || exit /b 1
You can’t perform that action at this time.
0 commit comments