CMake test targets are prefixed with boost_beast_

Closes #2984
This commit is contained in:
Mohammad Nejati authored and Mohammad Nejati committed 2025-02-13 20:09:44 +03:30
1 parent ee2b5b2ff9
commit 0451018f25
15 files changed
+116 -116

No files matched your search

+8 -8
View File
@@ -10,19 +10,19 @@
file(GLOB_RECURSE PFILES CONFIGURE_DEPENDS Jamfile *.cpp *.ipp *.hpp)
add_executable(tests-doc ${PFILES})
add_executable(boost_beast_tests_doc ${PFILES})
source_group("" FILES ${PFILES})
target_include_directories(tests-doc
target_include_directories(boost_beast_tests_doc
PRIVATE ${PROJECT_SOURCE_DIR})
target_link_libraries(tests-doc
lib-asio-ssl
lib-test)
target_link_libraries(boost_beast_tests_doc
boost_beast_lib_asio_ssl
boost_beast_lib_test)
set_target_properties(tests-doc
set_target_properties(boost_beast_tests_doc
PROPERTIES FOLDER "tests")
add_test(NAME tests-doc COMMAND tests-doc)
add_dependencies(tests tests-doc)
add_test(NAME boost_beast_tests_doc COMMAND boost_beast_tests_doc)
add_dependencies(tests boost_beast_tests_doc)