mirror of
https://github.com/TomHarte/CLK.git
synced 2024-12-27 16:31:31 +00:00
Standardises on -O2, C++17.
This commit is contained in:
parent
b4fd506361
commit
993dfeae1b
@ -4916,7 +4916,7 @@
|
|||||||
"$(USER_LIBRARY_DIR)/Frameworks",
|
"$(USER_LIBRARY_DIR)/Frameworks",
|
||||||
);
|
);
|
||||||
GCC_C_LANGUAGE_STANDARD = gnu11;
|
GCC_C_LANGUAGE_STANDARD = gnu11;
|
||||||
GCC_OPTIMIZATION_LEVEL = fast;
|
GCC_OPTIMIZATION_LEVEL = 2;
|
||||||
MACOSX_DEPLOYMENT_TARGET = 10.12;
|
MACOSX_DEPLOYMENT_TARGET = 10.12;
|
||||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||||
};
|
};
|
||||||
@ -5087,7 +5087,7 @@
|
|||||||
"$(inherited)",
|
"$(inherited)",
|
||||||
"$(USER_LIBRARY_DIR)/Frameworks",
|
"$(USER_LIBRARY_DIR)/Frameworks",
|
||||||
);
|
);
|
||||||
GCC_OPTIMIZATION_LEVEL = 3;
|
GCC_OPTIMIZATION_LEVEL = 2;
|
||||||
GCC_PREPROCESSOR_DEFINITIONS = "NDEBUG=1";
|
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;
|
||||||
@ -5137,7 +5137,7 @@
|
|||||||
CLANG_CXX_LANGUAGE_STANDARD = "c++17";
|
CLANG_CXX_LANGUAGE_STANDARD = "c++17";
|
||||||
CLANG_ENABLE_MODULES = YES;
|
CLANG_ENABLE_MODULES = YES;
|
||||||
COMBINE_HIDPI_IMAGES = YES;
|
COMBINE_HIDPI_IMAGES = YES;
|
||||||
GCC_OPTIMIZATION_LEVEL = fast;
|
GCC_OPTIMIZATION_LEVEL = 2;
|
||||||
INFOPLIST_FILE = "Clock SignalTests/Info.plist";
|
INFOPLIST_FILE = "Clock SignalTests/Info.plist";
|
||||||
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/../Frameworks";
|
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/../Frameworks";
|
||||||
PRODUCT_BUNDLE_IDENTIFIER = "TH.Clock-SignalTests";
|
PRODUCT_BUNDLE_IDENTIFIER = "TH.Clock-SignalTests";
|
||||||
|
@ -112,7 +112,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', '-DNDEBUG'])
|
env.Append(CCFLAGS = ['--std=c++17', '-Wall', '-O2', '-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…
Reference in New Issue
Block a user