[cmake-developers] [CMake 0013900]: add_custom_target is not "always considered out of date" in MSVC 2012

Mantis Bug Tracker mantis at public.kitware.com
Fri Feb 8 07:26:42 EST 2013


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=13900 
====================================================================== 
Reported By:                Hauke Heibel
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   13900
Category:                   CMake
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2013-02-08 07:26 EST
Last Modified:              2013-02-08 07:26 EST
====================================================================== 
Summary:                    add_custom_target is not "always considered out of
date" in MSVC 2012
Description: 
In some scenarios the MSVC 2012 IDE skips building custom targets, which should
not happen, if I understand the documentation correctly.

Steps to Reproduce: 
* Create a Visual Studio solution with the CMakeLists.txt file attached to this
report.
* Hit Ctrl-Alt-F7 in the IDE and the expected message is printed.
* Hit F7 (even multiple times) and the expected message is printed.
* Hit Ctrl-F5 and skip the error message (it is not important for this issue),
hit again F7. No message will be printed besides that all targets are up-to
date.
* Even directly building the target via its context menu does not result in an
actual build anymore once Ctrl-F5 (or F5) was used.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2013-02-08 07:26 Hauke Heibel   New Issue                                    
2013-02-08 07:26 Hauke Heibel   File Added: CMakeLists.txt                    
======================================================================




More information about the cmake-developers mailing list