mirror of
https://github.com/TomHarte/CLK.git
synced 2025-01-11 08:30:55 +00:00
Ensures NDEBUG is set for release builds.
This commit is contained in:
parent
25f7e3af31
commit
578a5b3e69
@ -4226,6 +4226,7 @@
|
|||||||
"$(inherited)",
|
"$(inherited)",
|
||||||
"$(USER_LIBRARY_DIR)/Frameworks",
|
"$(USER_LIBRARY_DIR)/Frameworks",
|
||||||
);
|
);
|
||||||
|
GCC_PREPROCESSOR_DEFINITIONS = "NDEBUG=1";
|
||||||
GCC_TREAT_IMPLICIT_FUNCTION_DECLARATIONS_AS_ERRORS = YES;
|
GCC_TREAT_IMPLICIT_FUNCTION_DECLARATIONS_AS_ERRORS = YES;
|
||||||
GCC_TREAT_INCOMPATIBLE_POINTER_TYPE_WARNINGS_AS_ERRORS = YES;
|
GCC_TREAT_INCOMPATIBLE_POINTER_TYPE_WARNINGS_AS_ERRORS = YES;
|
||||||
GCC_WARN_ABOUT_MISSING_NEWLINE = 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')
|
SOURCES += glob.glob('../../Storage/Tape/Parsers/*.cpp')
|
||||||
|
|
||||||
# add additional compiler flags
|
# 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
|
# add additional libraries to link against
|
||||||
env.Append(LIBS = ['libz', 'pthread', 'GL'])
|
env.Append(LIBS = ['libz', 'pthread', 'GL'])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user