[cmake-developers] [CMake 0013141]: Segregate .rule files in Visual Studio 2010 build tree

Mantis Bug Tracker mantis at public.kitware.com
Tue Apr 17 16:59:00 EDT 2012


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=13141 
====================================================================== 
Reported By:                Erik Jensen
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   13141
Category:                   CMake
Reproducibility:            N/A
Severity:                   tweak
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2012-04-17 16:59 EDT
Last Modified:              2012-04-17 16:59 EDT
====================================================================== 
Summary:                    Segregate .rule files in Visual Studio 2010 build
tree
Description: 
One of the targets in my project involved copying a bunch of files into a
directory and then package up the directory. To copy the files on an if-changed
basis, I am using add_custom_command.

Because Visual Studio 2010 requires custom commands to have files to hang on,
CMake creates a number of .rule files for this purpose. Unfortunately, CMake
creates these files in the output directory (they are given the same location
and name as the command's output, with '.rule' appended), causing them to end up
in the resulting package.

My proposal would be to put all .rule files inside CMakeFiles (the .rule files
for custom targets already go there, just not for custom commands).
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2012-04-17 16:59 Erik Jensen    New Issue                                    
======================================================================




More information about the cmake-developers mailing list