mirror of
https://github.com/TomHarte/CLK.git
synced 2024-12-23 20:29:42 +00:00
Ensures NDEBUG is set for release builds.
This commit is contained in:
parent
25f7e3af31
commit
578a5b3e69
@ -4226,6 +4226,7 @@
|
||||
"$(inherited)",
|
||||
"$(USER_LIBRARY_DIR)/Frameworks",
|
||||
);
|
||||
GCC_PREPROCESSOR_DEFINITIONS = "NDEBUG=1";
|
||||
GCC_TREAT_IMPLICIT_FUNCTION_DECLARATIONS_AS_ERRORS = YES;
|
||||
GCC_TREAT_INCOMPATIBLE_POINTER_TYPE_WARNINGS_AS_ERRORS = YES;
|
||||
GCC_WARN_ABOUT_MISSING_NEWLINE = YES;
|
||||
|
@ -89,7 +89,7 @@ SOURCES += glob.glob('../../Storage/Tape/Formats/*.cpp')
|
||||
SOURCES += glob.glob('../../Storage/Tape/Parsers/*.cpp')
|
||||
|
||||
# add additional compiler flags
|
||||
env.Append(CCFLAGS = ['--std=c++11', '-Wall', '-O3'])
|
||||
env.Append(CCFLAGS = ['--std=c++11', '-Wall', '-O3', '-DNDEBUG'])
|
||||
|
||||
# add additional libraries to link against
|
||||
env.Append(LIBS = ['libz', 'pthread', 'GL'])
|
||||
|
Loading…
Reference in New Issue
Block a user