diff options
author | Oleg Morozenkov <omorozenkov@gmail.com> | 2015-07-09 15:03:59 +0300 |
---|---|---|
committer | Oleg Morozenkov <omorozenkov@gmail.com> | 2015-07-09 15:03:59 +0300 |
commit | 51d2176d1535c8c8176426909e1c7b70633d794b (patch) | |
tree | 4301e0bb6f93913c53d4f41bdd96ddf1fcff9221 /test/CMakeLists.txt | |
parent | 28ef71aa3c6d9473d4127dd648161a0afa109895 (diff) |
Refactoring
Diffstat (limited to 'test/CMakeLists.txt')
-rw-r--r-- | test/CMakeLists.txt | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt new file mode 100644 index 0000000..4139418 --- /dev/null +++ b/test/CMakeLists.txt @@ -0,0 +1,12 @@ +set(TEST_SRC_LIST + main.cpp + utils.cpp + tgbot/net/Url.cpp + tgbot/net/HttpParser.cpp + tgbot/tools/StringTools.cpp +) + +include_directories("${PROJECT_SOURCE_DIR}/test") +add_executable(${PROJECT_NAME}_test ${TEST_SRC_LIST}) +target_link_libraries(${PROJECT_NAME}_test TgBot) +add_test(${PROJECT_NAME}_test ${PROJECT_NAME}_test)
\ No newline at end of file |