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