Mercurial > irccd
comparison CMakeLists.txt @ 295:6bf457b71e0c
Irccd: add new libirccd-test for unit tests
author | David Demelier <markand@malikania.fr> |
---|---|
date | Sun, 09 Oct 2016 12:05:11 +0200 |
parents | 7a82aae1ec36 |
children | 04e83ea7147b |
comparison
equal
deleted
inserted
replaced
294:55662f35a16b | 295:6bf457b71e0c |
---|---|
98 if (WIN32) | 98 if (WIN32) |
99 # add_subdirectory(win32) | 99 # add_subdirectory(win32) |
100 endif () | 100 endif () |
101 | 101 |
102 # Tests. | 102 # Tests. |
103 include(CTest) | 103 if (WITH_TESTS) |
104 # add_subdirectory(tests) | 104 include(CTest) |
105 add_subdirectory(libirccd-test) | |
106 add_subdirectory(tests) | |
107 endif () | |
105 | 108 |
106 message("Compiling with the following flags:") | 109 message("Compiling with the following flags:") |
107 message(" General flags: ${CMAKE_CXX_FLAGS}") | 110 message(" General flags: ${CMAKE_CXX_FLAGS}") |
108 message(" Debug flags: ${CMAKE_CXX_FLAGS_DEBUG}") | 111 message(" Debug flags: ${CMAKE_CXX_FLAGS_DEBUG}") |
109 message(" Release flags: ${CMAKE_CXX_FLAGS_RELEASE}") | 112 message(" Release flags: ${CMAKE_CXX_FLAGS_RELEASE}") |