Organize source files in CMakeLists with source_group

This commit is contained in:
Mohammad Nejati
2024-11-25 11:41:40 +03:30
committed by Mohammad Nejati
parent 75e45287fb
commit 827ecf5e93
70 changed files with 285 additions and 816 deletions
+5 -22
View File
@@ -8,28 +8,11 @@
# Official repository: https://github.com/boostorg/beast
#
add_executable (tests-doc
Jamfile
snippets.hpp
snippets.ipp
core_snippets.cpp
core_1_refresher.cpp
core_3_timeouts.cpp
core_4_layers.cpp
http_10_custom_parser.cpp
http_examples.cpp
http_snippets.cpp
websocket_common.ipp
websocket.cpp
websocket_1_connecting.cpp
websocket_2_handshaking.cpp
websocket_3_decorator.cpp
websocket_4_messages.cpp
websocket_5_control_frames.cpp
websocket_6_timeouts.cpp
websocket_7_teardown.cpp
websocket_8_notes.cpp
exemplars.cpp)
file(GLOB_RECURSE PFILES CONFIGURE_DEPENDS Jamfile *.cpp *.ipp *.hpp)
add_executable(tests-doc ${PFILES})
source_group("" FILES ${PFILES})
target_include_directories(tests-doc
PRIVATE ${PROJECT_SOURCE_DIR})