MantisBT - CMake
View Issue Details
0013598CMakeCMakepublic2012-10-21 06:322016-06-10 14:31
James 
Kitware Robot 
normalminoralways
closedmoved 
WindowsWindows7
CMake 2.8.7 
 
0013598: source_group is broken when using regex and putting into "Source Files"
WORKS: source_group(Source\ Files\\Hello FILES directives/asm/test.c)
WORKS: source_group(Source\ Files2\\Hello REGULAR_EXPRESSION directives/asm/.*\\.c)
FAILS: source_group(Source\ Files\\Hello REGULAR_EXPRESSION directives/asm/.*\\.c)

It seems the explicit combination of using REGULAR_EXPRESSION and attempting to put the result inside "Source Files" fails (that is, Visual Studio does not show it in the sub-folder; it appears directly inside Source Files).
Create a CMake file that sorts files using the above combination.
Generate the CMake file.
Notice that in Visual Studio it is not placed in the correct group.
No tags attached.
Issue History
2012-10-21 06:32JamesNew Issue
2016-06-10 14:28Kitware RobotNote Added: 0042134
2016-06-10 14:28Kitware RobotStatusnew => resolved
2016-06-10 14:28Kitware RobotResolutionopen => moved
2016-06-10 14:28Kitware RobotAssigned To => Kitware Robot
2016-06-10 14:31Kitware RobotStatusresolved => closed

Notes
(0042134)
Kitware Robot   
2016-06-10 14:28   
Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.