diff options
author | Zaba999 <qrwfw5rp> | 2012-10-11 23:09:29 +0200 |
---|---|---|
committer | Zaba999 <qrwfw5rp> | 2012-10-11 23:09:29 +0200 |
commit | 8a932fed3e5700af283017deab3cb1da11cb0dce (patch) | |
tree | 892d7a4068c843cb41bd202f078b042027a0a3d0 /src/ui/test/CMakeLists.txt | |
parent | 3f7f013168e62693601ab57108d329ffaa924439 (diff) | |
download | colobot-8a932fed3e5700af283017deab3cb1da11cb0dce.tar.gz colobot-8a932fed3e5700af283017deab3cb1da11cb0dce.tar.bz2 colobot-8a932fed3e5700af283017deab3cb1da11cb0dce.zip |
Added saving user scripts on game save. Fixed bug in writing script to file.
Diffstat (limited to 'src/ui/test/CMakeLists.txt')
-rw-r--r-- | src/ui/test/CMakeLists.txt | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/src/ui/test/CMakeLists.txt b/src/ui/test/CMakeLists.txt new file mode 100644 index 0000000..e49e6af --- /dev/null +++ b/src/ui/test/CMakeLists.txt @@ -0,0 +1,33 @@ +cmake_minimum_required(VERSION 2.8) + +set(CMAKE_BUILD_TYPE debug) +set(CMAKE_CXX_FLAGS_DEBUG "-g -O0 -Wall -Wold-style-cast -std=gnu++0x") + +include_directories( +. +../.. +../../.. +${GTEST_DIR}/include +) + + +add_executable(edit_test + ../../common/event.cpp + ../../common/logger.cpp + ../../common/misc.cpp + ../../common/iman.cpp + ../../common/stringutils.cpp + ../../graphics/engine/particle.cpp + ../../graphics/engine/text.cpp + ../button.cpp + ../control.cpp + ../edit.cpp + ../scroll.cpp + stubs/app_stub.cpp + stubs/engine_stub.cpp + stubs/restext_stub.cpp + stubs/robotmain_stub.cpp + edit_test.cpp) +target_link_libraries(edit_test gtest gmock ${SDL_LIBRARY} ${SDLTTF_LIBRARY}) + +add_test(edit_test ./edit_test) |