View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0013141 | CMake | CMake | public | 2012-04-17 16:59 | 2013-01-09 10:55 | ||||
Reporter | Erik Jensen | ||||||||
Assigned To | Brad King | ||||||||
Priority | normal | Severity | tweak | Reproducibility | N/A | ||||
Status | closed | Resolution | fixed | ||||||
Platform | Visual Studio 2010 | OS | Windows | OS Version | 7 x64 | ||||
Product Version | CMake 2.8.7 | ||||||||
Target Version | CMake 2.8.9 | Fixed in Version | CMake 2.8.9 | ||||||
Summary | 0013141: 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). | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0029208) Brad King (manager) 2012-04-18 09:24 |
Hiding .rule files sounds good. Meanwhile one may work around this problem by using the MAIN_DEPENDENCY option to specify a different place to attach the rule instead of generating a .rule file. |
(0029229) Brad King (manager) 2012-04-19 07:51 |
This issue prompted some cleanup work needed w.r.t. the .rule files anyway. After two cleanup commits here is a fix for this issue: http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=72333a46 [^] |
(0032022) Robert Maynard (manager) 2013-01-09 10:55 |
Closing resolved issues that have not been updated in more than 4 months. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2012-04-17 16:59 | Erik Jensen | New Issue | |
2012-04-18 09:24 | Brad King | Note Added: 0029208 | |
2012-04-19 07:51 | Brad King | Note Added: 0029229 | |
2012-04-19 07:51 | Brad King | Status | new => resolved |
2012-04-19 07:51 | Brad King | Resolution | open => fixed |
2012-04-19 07:51 | Brad King | Assigned To | => Brad King |
2012-08-09 17:00 | David Cole | Fixed in Version | => CMake 2.8.9 |
2012-08-09 17:00 | David Cole | Target Version | => CMake 2.8.9 |
2013-01-09 10:55 | Robert Maynard | Note Added: 0032022 | |
2013-01-09 10:55 | Robert Maynard | Status | resolved => closed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |