Add additional messages to CMake build for optional parts

This commit is contained in:
Stanislav Angelovic
2020-07-21 12:12:14 +02:00
parent e63357b222
commit 250aa2bbe3
3 changed files with 7 additions and 0 deletions

View File

@@ -102,6 +102,7 @@ if(ENABLE_PERF_TESTS OR ENABLE_STRESS_TESTS)
find_package(Threads REQUIRED)
if(ENABLE_PERF_TESTS)
message(STATUS "Building with performance tests")
add_executable(sdbus-c++-perf-tests-client ${STRESSTESTS_CLIENT_SRCS})
target_link_libraries(sdbus-c++-perf-tests-client sdbus-c++ Threads::Threads)
add_executable(sdbus-c++-perf-tests-server ${STRESSTESTS_SERVER_SRCS})
@@ -109,6 +110,7 @@ if(ENABLE_PERF_TESTS OR ENABLE_STRESS_TESTS)
endif()
if(ENABLE_STRESS_TESTS)
message(STATUS "Building with stress tests")
add_executable(sdbus-c++-stress-tests ${STRESSTESTS_SRCS})
target_link_libraries(sdbus-c++-stress-tests sdbus-c++ Threads::Threads)
endif()