move /Zc:preprocessor to common

This commit is contained in:
Nikita Smith
2026-02-18 19:18:11 -08:00
parent 9cc25d11fb
commit 28299bf778
+2 -2
View File
@@ -66,8 +66,8 @@ if "%pgo%"=="1" (
) )
:: --- Compile/Link Line Definitions ------------------------------------------ :: --- Compile/Link Line Definitions ------------------------------------------
set cl_common= /I..\src\ /I..\local\ /nologo /FC /Z7 set cl_common= /I..\src\ /I..\local\ /nologo /FC /Z7 /Zc:preprocessor
set cl_debug= call cl /Od /Ob1 /DBUILD_DEBUG=1 /D_DEBUG %cl_common% %auto_compile_flags% /Zc:preprocessor set cl_debug= call cl /Od /Ob1 /DBUILD_DEBUG=1 /D_DEBUG %cl_common% %auto_compile_flags%
set cl_release= call cl /O2 /DBUILD_DEBUG=0 /DNDEBUG %cl_common% %auto_compile_flags% set cl_release= call cl /O2 /DBUILD_DEBUG=0 /DNDEBUG %cl_common% %auto_compile_flags%
set cl_link= /link /MANIFEST:EMBED /INCREMENTAL:NO /pdbaltpath:%%%%_PDB%%%% /NATVIS:"%~dp0\src\natvis\base.natvis" /noexp /nocoffgrpinfo /opt:ref /opt:icf set cl_link= /link /MANIFEST:EMBED /INCREMENTAL:NO /pdbaltpath:%%%%_PDB%%%% /NATVIS:"%~dp0\src\natvis\base.natvis" /noexp /nocoffgrpinfo /opt:ref /opt:icf
set cl_out= /out: set cl_out= /out: