MantisBT - CMake | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0014030 | CMake | CMake | public | 2013-03-19 22:43 | 2013-10-07 10:04 |
Reporter | Paul "TBBle" Hampson | ||||
Assigned To | |||||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | not fixable | ||
Platform | Microsoft Visual Studio | OS | Microsoft Windows | OS Version | 7 SP1 |
Product Version | CMake 2.8.10.2 | ||||
Target Version | Fixed in Version | ||||
Summary | 0014030: INCLUDE( file OPTIONAL ) doesn't see the "file appeared" as "file changed" | ||||
Description | Using the Visual Studio generators, I get a free rerun of CMake whenever I build my project. One of the project pre-build steps generates a CMake include file which is included with INCLUDE( file OPTIONAL ) However, even though this file has gone from non-existent to existent, CMake doesn't consider that to be a change, and doesn't regenerate the projects. If I then delete my build-tree and rerun CMake, subsequent _changes_ to the generated file are seen as changes by CMake correctly. | ||||
Steps To Reproduce | (Only tested with Visual Studio Generator's auto-rebuild, sorry. I don't know if that's a factor.) Include a non-existent file with INCLUDE( file OPTIONAL ) Generate a Visual Studio solution using CMake. Create the non-existent file Build the project in Visual Studio - Expected result: CMake re-runs, processing the included file. - Actual result: CMake doesn't see anything as changed, and does nothing. ===== Comparison with the success case: Include a existing file with INCLUDE( file OPTIONAL ) Generate a Visual Studio solution using CMake. Modify the existing file Build the project in Visual Studio - Expected result: CMake re-runs, processing the included file. - Actual result: CMake re-runs, processing the included file. | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2013-03-19 22:43 | Paul "TBBle" Hampson | New Issue | |||
2013-03-20 09:10 | Brad King | Note Added: 0032679 | |||
2013-03-20 09:10 | Brad King | Status | new => resolved | ||
2013-03-20 09:10 | Brad King | Resolution | open => not fixable | ||
2013-03-20 23:10 | Paul "TBBle" Hampson | Note Added: 0032681 | |||
2013-03-20 23:10 | Paul "TBBle" Hampson | Status | resolved => feedback | ||
2013-03-20 23:10 | Paul "TBBle" Hampson | Resolution | not fixable => reopened | ||
2013-03-21 07:02 | David Cole | Note Added: 0032682 | |||
2013-03-21 11:51 | Brad King | Note Added: 0032683 | |||
2013-03-21 11:51 | Brad King | Status | feedback => resolved | ||
2013-03-21 11:51 | Brad King | Resolution | reopened => not fixable | ||
2013-10-07 10:04 | Robert Maynard | Note Added: 0034012 | |||
2013-10-07 10:04 | Robert Maynard | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|