Skip to content

Commit

Permalink
test bin target
Browse files Browse the repository at this point in the history
  • Loading branch information
olofkallander committed Dec 11, 2024
1 parent cc07909 commit 57c4f98
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -477,6 +477,9 @@ set(CMAKE_TEST_INCLUDE "${CMAKE_TEST_DIRECTORY}/include")
configure_file(test/TestConfig.h.in ${CMAKE_TEST_INCLUDE}/TestConfig.h)

add_subdirectory(test)
set_target_properties(UnitTest PROPERTIES LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR} ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR} RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR})
set_target_properties(UnitTest2 PROPERTIES LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR} ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR} RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR})
set_target_properties(LoadTest PROPERTIES LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR} ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR} RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR})

if(APPLE)
source_group(TREE ${PROJECT_SOURCE_DIR} FILES ${FILES} ${TEST_FILES} ${TEST_FILES2})
Expand Down

0 comments on commit 57c4f98

Please sign in to comment.