The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=13481 
====================================================================== 
Reported By:                Wolfgang Steiner
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   13481
Category:                   CMake
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2012-08-18 07:34 EDT
Last Modified:              2012-08-18 07:34 EDT
====================================================================== 
Summary:                    .rule files & source_group bug
Description: 
I switched from CMake 2.8.8 to 2.8.9 today and am getting the following bug.
I'm placing .rule files of my project into a common source group by using the
"source_group" command. After my switch to 2.8.9, CMake additionally adds the
.rule files to another (implicit?) source group called "CMake Rules".

So for the case of Visual Studio, I now have two project folders with all .rule
files duplicated. I hope this is a bug and not a feature, since I love using the
source_group command to structure my project's source tree :)

PS: I only could test this with VS 2010, I don't know if this is only happening
for the VS 2010 Generator or if it's the same for other generators as well

Thanks

Steps to Reproduce: 
* use CMake 2.8.9
* add a .rule file to an executable/library
* add this .rule file to a source_group
* run CMake to generate a Visual Studio project (VS 2010 in my case)
* CMake generates two source groups with the .rule file in them, one with the
name you requested, the second is a source group named "CMake Rules"
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2012-08-18 07:34 Wolfgang SteinerNew 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

Reply via email to