From 51d2176d1535c8c8176426909e1c7b70633d794b Mon Sep 17 00:00:00 2001 From: Oleg Morozenkov Date: Thu, 9 Jul 2015 15:03:59 +0300 Subject: Refactoring --- test/CMakeLists.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 test/CMakeLists.txt (limited to 'test/CMakeLists.txt') 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 -- cgit v1.2.3