[Cmake] CMake: Adding all .txx and .h files to the DSP file

Ian Scott ian.m.scott at stud.man.ac.uk
Fri Jun 8 10:26:17 EDT 2001


Hi,

Is there a way off adding all the *.h and *.txx files in the same directory
as the current CMakeLists.txt file to a Group/Folder called "Others" in the
DSP file.

There appears to be a command called SOURCE_GROUP, but I can't get it to
work.
What am I doing wrong?

Many thanks,
Ian.

My simple CMakeLists.txt file is



ADD_LIBRARY(find find_sources)
SOURCE_FILES(find_sources
find_model_data
)
SOURCE_GROUP(Others \.txx|\.h)





More information about the CMake mailing list