You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
513 B
18 lines
513 B
include_directories(
|
|
${CMAKE_CURRENT_BINARY_DIR}
|
|
${CMake_BINARY_DIR}/Source
|
|
${CMake_SOURCE_DIR}/Source
|
|
)
|
|
|
|
set(CMakeServerLib_TESTS
|
|
testServerBuffering
|
|
)
|
|
|
|
create_test_sourcelist(CMakeLib_TEST_SRCS CMakeServerLibTests.cxx ${CMakeServerLib_TESTS})
|
|
add_executable(CMakeServerLibTests ${CMakeLib_TEST_SRCS})
|
|
target_link_libraries(CMakeServerLibTests CMakeLib CMakeServerLib)
|
|
|
|
foreach(test ${CMakeServerLib_TESTS})
|
|
add_test(CMakeServerLib.${test} CMakeServerLibTests ${test} ${${test}_ARGS})
|
|
endforeach()
|