Files
CMake/Tests/SourceGroups/sub2/CMakeLists.txt
T
Alex Neundorf 87788353cc source_group: Add test/example for TREE without FILES
This creates an additional target and for its three source files
a directory tree is created.
2023-07-05 07:54:54 -04:00

5 lines
157 B
CMake

add_executable(SourceGroups2 main.c
qux.c subsub/qax.c)
source_group(TREE "${CMAKE_CURRENT_SOURCE_DIR}" ) #PREFIX TheSubDir2 )