diff options
author | Piotr Dziwinski <piotrdz@gmail.com> | 2012-09-08 03:05:12 +0200 |
---|---|---|
committer | Piotr Dziwinski <piotrdz@gmail.com> | 2012-09-08 03:05:12 +0200 |
commit | 31c29ea482e3bb868e60a0de05d513511a942b97 (patch) | |
tree | 6101f1adeebbbf8c798cd51ec13e32549f14a44f /lib/gtest/CMakeLists.txt | |
parent | 0b1e6949b0aaefd85f63c6a2d5f4d2b207e9b12d (diff) | |
download | colobot-31c29ea482e3bb868e60a0de05d513511a942b97.tar.gz colobot-31c29ea482e3bb868e60a0de05d513511a942b97.tar.bz2 colobot-31c29ea482e3bb868e60a0de05d513511a942b97.zip |
CModelFile fixes; test framework
- fixes in CModelFile IO
- added Google Test framework for automatic testing
- rewrote modelfile_test in the new framework
Diffstat (limited to 'lib/gtest/CMakeLists.txt')
-rw-r--r-- | lib/gtest/CMakeLists.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/gtest/CMakeLists.txt b/lib/gtest/CMakeLists.txt new file mode 100644 index 0000000..1279f7d --- /dev/null +++ b/lib/gtest/CMakeLists.txt @@ -0,0 +1,9 @@ +cmake_minimum_required(VERSION 2.8) + +include_directories(. include) + +# pthread is not necessary +add_definitions(-DGTEST_HAS_PTHREAD=0) + +# gtest-all.cc includes all other sources +add_library(gtest STATIC src/gtest-all.cc) |