I'm wondering what the best way to override the default 'Header Files'
and 'Source Files' SOURCE_GROUPs?  I'm creating SOURCE_GROUPs by hand,
and I don't want the default ones to be active.  Looking at the code, I
think it might require a source hack, but I thought I'd better check
first.
You can override the default source groups which rely on regular expressions by explicitly adding all your sources to a custom source group, something like this :

SOURCE_GROUP("MP Framework Files" FILES ${TARGET_FILES})
ADD_TARGET_MP(my_target shared FILES ${TARGET_FILES})

--Sylvain
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to