for a VisualStudio project, I would like cMake to put all the files from a specific folder in a specific filter.
I tried:
SOURCE_GROUP(Math FILES
${CMAKE_CURRENT_SOURCE_DIR}/src/Math/*.cpp
${CMAKE_CURRENT_SOURCE_DIR}/src/Math/*.h
)
however, this will only place the first cpp found and the first h file found in this filter. other files in the folder will be placed in the default filters
How to do it right?
source
share