diff options
author | Didier Raboud <odyx@debian.org> | 2012-12-19 16:54:58 +0100 |
---|---|---|
committer | Didier Raboud <odyx@debian.org> | 2012-12-19 16:55:00 +0100 |
commit | 7e9ef0c042fd14373a129ca8a5ac94e9679daee9 (patch) | |
tree | b34f2c5b0beb3897ba187734bed0679c1e70f909 /src/plugins/test | |
parent | 3c976c040b48caa9f3e75d12a6502e39193ce9a6 (diff) | |
download | colobot-7e9ef0c042fd14373a129ca8a5ac94e9679daee9.tar.gz colobot-7e9ef0c042fd14373a129ca8a5ac94e9679daee9.tar.bz2 colobot-7e9ef0c042fd14373a129ca8a5ac94e9679daee9.zip |
Put common CXX flags in common variables
CMAKE_CXX_FLAGS is taken into account in all builds; build-type-specific
flags are appended to it.
Diffstat (limited to 'src/plugins/test')
-rw-r--r-- | src/plugins/test/CMakeLists.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/test/CMakeLists.txt b/src/plugins/test/CMakeLists.txt index ff4f67b..31b4163 100644 --- a/src/plugins/test/CMakeLists.txt +++ b/src/plugins/test/CMakeLists.txt @@ -3,7 +3,8 @@ cmake_minimum_required(VERSION 2.8) if(NOT CMAKE_BUILD_TYPE) set(CMAKE_BUILD_TYPE debug) endif(NOT CMAKE_BUILD_TYPE) -set(CMAKE_CXX_FLAGS_DEBUG "-Wall -g -O0 -std=c++11 -rdynamic") +set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -std=c++11 -rdynamic") +set(CMAKE_CXX_FLAGS_DEBUG "-g -O0") add_executable(manager_test manager_test.cpp ../../common/logger.cpp ../../common/profile.cpp ../../common/iman.cpp ../pluginmanager.cpp ../pluginloader.cpp) |