Commit 1cfa51656115bc80e126b5811bae11bf3131d763
1 parent
ad8eaef0
No tests to build here
Showing
1 changed file
with
0 additions
and
35 deletions
test/CMakeLists.txt deleted
1 | -cmake_minimum_required(VERSION 3.10) | |
2 | -LIST(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/../cmake) | |
3 | - | |
4 | -include(projectheader) | |
5 | -project_header(mqtt_test) | |
6 | - | |
7 | -find_package(GTest) | |
8 | - | |
9 | -include_directories( SYSTEM | |
10 | - ${CMAKE_CURRENT_SOURCE_DIR}/../include | |
11 | -) | |
12 | - | |
13 | -include (compiler) | |
14 | -set(SRC_LIST | |
15 | - ${CMAKE_CURRENT_SOURCE_DIR}/mqtt_test.cpp | |
16 | -) | |
17 | - | |
18 | -add_executable( ${PROJECT_NAME} | |
19 | - ${SRC_LIST} | |
20 | -) | |
21 | - | |
22 | -target_link_libraries( | |
23 | - ${PROJECT_NAME} | |
24 | - mqtt-cpp | |
25 | -) | |
26 | - | |
27 | -set_target_properties( ${PROJECT_NAME} PROPERTIES | |
28 | - RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin | |
29 | - LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib | |
30 | - ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib | |
31 | -) | |
32 | - | |
33 | -include(installation) | |
34 | -install_application() | |
35 | - |