build release without crt by default, build debug with crt
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -58,3 +58,5 @@ dkms.conf
|
|||||||
/bin.7z
|
/bin.7z
|
||||||
*.zip
|
*.zip
|
||||||
*.res
|
*.res
|
||||||
|
|
||||||
|
release
|
||||||
@@ -12,8 +12,8 @@ if "%1" == "debug" (
|
|||||||
set CL=/MT /Od /Zi /RTC1 /Fdprogmgr.pdb /fsanitize=address %DEFS%
|
set CL=/MT /Od /Zi /RTC1 /Fdprogmgr.pdb /fsanitize=address %DEFS%
|
||||||
set LINK=/DEBUG
|
set LINK=/DEBUG
|
||||||
) else (
|
) else (
|
||||||
set CL=/GL /O1 /DNDEBUG /GS- %DEFS%
|
set CL=/O1 /DNDEBUG /DPROGMGR_NO_CRT /GS- %DEFS%
|
||||||
set LINK=/LTCG /OPT:REF /OPT:ICF
|
set LINK=/NODEFAULTLIB /OPT:REF /OPT:ICF
|
||||||
)
|
)
|
||||||
|
|
||||||
pushd "%DIR_RELEASE%"
|
pushd "%DIR_RELEASE%"
|
||||||
|
|||||||
Reference in New Issue
Block a user