Skip to content

Commit 02c7aae

Browse files
committed
progress on config layer untangled from debugger frontend, to do eval on config on ctrl or async threads; turn off metaprogram by default
1 parent 8dbfa97 commit 02c7aae

File tree

4 files changed

+488
-38
lines changed

4 files changed

+488
-38
lines changed

build.bat

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ if "%opengl%"=="1" set auto_compile_flags=%auto_compile_flags%
4747
if "%dwarf%"=="1" if "%clang%"=="1" set auto_compile_flags=%auto_compile_flags% -gdwarf && echo [dwarf debug info]
4848
if "%dwarf%"=="" if "%clang%"=="1" set auto_compile_flags=%auto_compile_flags% -gcodeview
4949
if "%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%
120119
for /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

0 commit comments

Comments
 (0)