The following issue has been SUBMITTED. ====================================================================== http://www.cmake.org/Bug/view.php?id=13611 ====================================================================== Reported By: tzeH Assigned To: ====================================================================== Project: CMake Issue ID: 13611 Category: CMake Reproducibility: always Severity: minor Priority: normal Status: new ====================================================================== Date Submitted: 2012-10-27 05:28 EDT Last Modified: 2012-10-27 05:28 EDT ====================================================================== Summary: SOURCE_GROUP doesn't use last match Description: I use a main CMake file and an include with source_group commands.
Using the SOURCE_GROUP commands like this: SOURCE_GROUP( Tests\\Project REGULAR_EXPRESSION tests/Project/.* ) SOURCE_GROUP( Tests\\Project\\GUI REGULAR_EXPRESSION tests/Project/GUI/.* ) SOURCE_GROUP( Tests\\Project\\DSP REGULAR_EXPRESSION tests/Project/DSP/.* ) SOURCE_GROUP( Tests\\Project\\math REGULAR_EXPRESSION tests/Project/math/.* ) does not create three sub-folders as it should according to the documentation: "If no group explicitly lists the file, the LAST group whose regular expression matches the file will be favored." Additional Information: Removing the first entry gives me three subfolders, but I want the files in tests/Project to be in a folder and not in "Source Files". I found this with the Visual Studio 2010 generators. ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2012-10-27 05:28 tzeH New Issue ====================================================================== -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers