38 lines
1.1 KiB
Plaintext
38 lines
1.1 KiB
Plaintext
|
###### Include Paths ##########################################################
|
||
|
-I../src/dependencies
|
||
|
freetype>-I../src/dependencies/freetype-2.12.1/include
|
||
|
|
||
|
|
||
|
###### CL #####################################################################
|
||
|
cmp:cl>-nologo
|
||
|
cmp:cl>-FC
|
||
|
cmp:cl>-GR-
|
||
|
cmp:cl>-EHa
|
||
|
|
||
|
cmp:cl>sanitizer>-fsanitize=address
|
||
|
|
||
|
###### Clang ##################################################################
|
||
|
cmp:clang>-Wno-writable-strings
|
||
|
cmp:clang>-Wno-switch
|
||
|
cmp:clang>-Wno-deprecated-declarations
|
||
|
|
||
|
cmp:clang>sanitizer>-fsanitize=address
|
||
|
cmp:clang>sanitizer>-fsanitize=undefined
|
||
|
cmp:clang>os:linux>sanitizer>-fsanitize=safe-stack
|
||
|
cmp:clang>fuzzer>-fsanitize=fuzzer
|
||
|
|
||
|
###### Debug ##################################################################
|
||
|
mode:debug>-DENABLE_ASSERT=1
|
||
|
mode:release>-DENABLE_ASSERT=0
|
||
|
cmp:cl>mode:debug>-Zi
|
||
|
cmp:clang>mode:debug>-g
|
||
|
|
||
|
sanitizer>-DENABLE_SANITIZER=1
|
||
|
|
||
|
###### Profiling ##############################################################
|
||
|
manualprofile>-DENABLE_MANUAL_PROFILE=1
|
||
|
spall>-DPROFILER_SPALL=1
|
||
|
|
||
|
cmp:clang>autoprofile>-finstrument-functions
|
||
|
autoprofile>-DENABLE_AUTO_PROFILE=1
|