[cmake-developers] [CMake 0013788]: Hide Automoc Targets in Visual Studio projects

Mantis Bug Tracker mantis at public.kitware.com
Wed Dec 12 15:07:30 EST 2012


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=13788 
====================================================================== 
Reported By:                Shaun Williams
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   13788
Category:                   CMake
Reproducibility:            always
Severity:                   feature
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2012-12-12 15:07 EST
Last Modified:              2012-12-12 15:07 EST
====================================================================== 
Summary:                    Hide Automoc Targets in Visual Studio projects
Description: 
This is a feature request to hide the <target>_automoc projects in a folder in
Visual Studio:
http://public.kitware.com/pipermail/cmake-developers/2012-June/004402.html

It is also related to issue 0013688.

------------

The included patch adds in a new global property:

$ cmake --help-property AUTOMOC_FOLDER
cmake version 2.8.10.20121212

  AUTOMOC_FOLDER
       Name of FOLDER for *_automoc targets that are added automatically by
       CMake.

       If not set, CMake uses the FOLDER property of the parent target as a
       default value for this property.  See also the documentation for the
       FOLDER target property and the AUTOMOC target property.



Steps to Reproduce: 

SET_PROPERTY(GLOBAL PROPERTY USE_FOLDERS ON)
SET_PROPERTY(GLOBAL PROPERTY AUTOMOC_FOLDER automoc)
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2012-12-12 15:07 Shaun Williams New Issue                                    
2012-12-12 15:07 Shaun Williams File Added: automoc_folder.patch                
   
======================================================================




More information about the cmake-developers mailing list