diff options
author | erihel <erihel@gmail.com> | 2012-08-09 23:04:29 +0200 |
---|---|---|
committer | erihel <erihel@gmail.com> | 2012-08-09 23:04:29 +0200 |
commit | 9946459c0cd65c3b66719a2aefc42c7ab2a29c04 (patch) | |
tree | 78e68a3a434082c5f42926f907adb05db9ae24dd /src/common/test/CMakeLists.txt | |
parent | f1d1cdceee3ec49546ba800a1b53a2dfb9c21e11 (diff) | |
download | colobot-9946459c0cd65c3b66719a2aefc42c7ab2a29c04.tar.gz colobot-9946459c0cd65c3b66719a2aefc42c7ab2a29c04.tar.bz2 colobot-9946459c0cd65c3b66719a2aefc42c7ab2a29c04.zip |
* changed 0, NULL to nullptr
* changed profile.cpp to use SimpleIni to load config files
* added new CProfile singleton class for loading config
* added SimpleIni to lib/ dir
* added config loading tests
Diffstat (limited to 'src/common/test/CMakeLists.txt')
-rw-r--r-- | src/common/test/CMakeLists.txt | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/common/test/CMakeLists.txt b/src/common/test/CMakeLists.txt index 680116c..3adca4e 100644 --- a/src/common/test/CMakeLists.txt +++ b/src/common/test/CMakeLists.txt @@ -1,6 +1,12 @@ cmake_minimum_required(VERSION 2.8) set(CMAKE_BUILD_TYPE debug) -set(CMAKE_CXX_FLAGS_DEBUG "-Wall -g -O0") +set(CMAKE_CXX_FLAGS_DEBUG "-Wall -g -O0 -std=c++11") -add_executable(image_test ../image.cpp image_test.cpp) +include_directories("../../") +include_directories("../../../") + +#add_executable(image_test ../image.cpp image_test.cpp) +add_executable(profile_test ../profile.cpp profile_test.cpp) + +add_test(profile_test ./profile_test) |