diff options
author | onqtam <vik.kirilov@gmail.com> | 2017-04-17 10:46:55 +0300 |
---|---|---|
committer | onqtam <vik.kirilov@gmail.com> | 2017-05-16 00:22:21 +0300 |
commit | 119cfb6fe19225427a4561a105ac13b031ab691e (patch) | |
tree | f718651bc80788bd55e72109189233f982830b18 /examples/exe_with_static_libs | |
parent | e0f18802cb6c036faf7a3690a92f05c5f90a9b87 (diff) |
- added an undocumented flag to omit the "skipped" part in the output summary - for convenience for the all_features example
- grouped examples by project
- changed names of output from tests
- added source files for some features without examples
Diffstat (limited to 'examples/exe_with_static_libs')
-rw-r--r-- | examples/exe_with_static_libs/CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/exe_with_static_libs/CMakeLists.txt b/examples/exe_with_static_libs/CMakeLists.txt index cd0eae8..5b30d51 100644 --- a/examples/exe_with_static_libs/CMakeLists.txt +++ b/examples/exe_with_static_libs/CMakeLists.txt @@ -3,13 +3,17 @@ project(${PROJECT_NAME}) doctest_add_library(lib_1 STATIC lib_1_src1.cpp lib_1_src2.cpp) target_link_libraries(lib_1 doctest) +set_target_properties(lib_1 PROPERTIES FOLDER ${PROJECT_NAME}) + doctest_add_library(lib_2 STATIC lib_2_src.cpp) target_link_libraries(lib_2 doctest) +set_target_properties(lib_2 PROPERTIES FOLDER ${PROJECT_NAME}) doctest_add_executable(${PROJECT_NAME} main.cpp) target_link_libraries(${PROJECT_NAME} doctest) target_link_libraries(${PROJECT_NAME} lib_1) target_link_libraries(${PROJECT_NAME} lib_2) +set_target_properties(${PROJECT_NAME} PROPERTIES FOLDER ${PROJECT_NAME}) doctest_add_test(NAME ${PROJECT_NAME} COMMAND $<TARGET_FILE:${PROJECT_NAME}>) |