MantisBT - CMake
View Issue Details
0008163CMakeCMakepublic2008-11-25 07:542016-06-10 14:30
trigger-debian 
Kitware Robot 
normalminoralways
closedmoved 
CMake-2-6 
 
0008163: VS generator fails to create correct unnamed source group
When having a project like this
> PROJECT(foo)
> source_group("" REGULAR_EXPRESSION "src/[^/]+$")
> ADD_EXECUTABLE(bar src/bar.h src/bar.cc)
the visual studio generator puts src/bar.h in a folder named "Header Files" and "src/bar.cc" in "Source Files" instead of putting them directly into the root of the project.

> PROJECT(foo)
> SOURCE_GROUP("" FILES bar.h bar.cc)
> ADD_EXECUTABLE(bar bar.h bar.cc
Works just fine.

Seems as if the regex breaks the empty source group.
No tags attached.
Issue History
2008-11-25 07:54trigger-debianNew Issue
2010-12-14 15:36David ColeStatusnew => assigned
2010-12-14 15:36David ColeAssigned To => David Cole
2012-08-13 15:06David ColeStatusassigned => new
2012-08-13 15:06David ColeNote Added: 0030591
2012-08-13 15:07David ColeStatusnew => backlog
2012-08-13 15:23David ColeAssigned ToDavid Cole =>
2016-06-10 14:27Kitware RobotNote Added: 0041471
2016-06-10 14:27Kitware RobotStatusbacklog => resolved
2016-06-10 14:27Kitware RobotResolutionopen => moved
2016-06-10 14:27Kitware RobotAssigned To => Kitware Robot
2016-06-10 14:30Kitware RobotStatusresolved => closed

Notes
(0030591)
David Cole   
2012-08-13 15:06   
Sending old, not-recently-updated issues to the backlog.

(The age of the bug alone means that nobody is actively working on it...)

If an issue you care about is sent to the backlog when you feel it should have been addressed in a different manner, please bring it up on the CMake mailing list for discussion. Sign up for the mailing list here, if you're not already on it: http://www.cmake.org/mailman/listinfo/cmake [^]

It's easy to re-activate a bug here if you can find a CMake developer who has the bandwidth to take it on, and ferry a fix through to our 'next' branch for dashboard testing.
(0041471)
Kitware Robot   
2016-06-10 14:27   
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.