MantisBT - CMake
View Issue Details
0014400CMakeCMakepublic2013-09-12 05:052016-06-10 14:31
Xuefer 
Kitware Robot 
normalminorhave not tried
closedmoved 
x86_64Windows7
CMake 2.8.11.2 
 
0014400: VS2012 no longer install unconditionally after "INSTALL" is set default startup project
cmake --version
cmake version 2.8.11.20130910-g7124b

See reproduce steps for detail

This is not reproduced with "Visual Studio 10" generator
after cmake generate solution file, open it in VS2012

1. right click "INSTALL", select "set as StartUp project"
right click on the solution, select "configuration manager", check "INSTALL" as build so it should build when i say "Build Solution"

(it still install when "Build Solution" is executed at this point)

2. click debug in menubar, start debugging, ignore whatever error it is
It shows "========== Build: 0 succeeded, 0 failed, 13 up-to-date, 0 skipped ==========" only, without installing anything
3. "Build Solution", it says "INSTALL" is done without installing any file
It shows "1>------ Skipped Build: Project: RUN_TESTS, Configuration: Debug Win32 ------
1>Project not selected to build for this solution configuration
2>------ Skipped Build: Project: PACKAGE, Configuration: Debug Win32 ------
2>Project not selected to build for this solution configuration
========== Build: 0 succeeded, 0 failed, 13 up-to-date, 2 skipped =========="
without installing doing anything for install
No tags attached.
related to 0013900closed Kitware Robot add_custom_target is not "always considered out of date" in MSVC 2012 
? test.tbz (578) 2013-09-12 05:05
https://public.kitware.com/Bug/file/4875/test.tbz
Issue History
2013-09-12 05:05XueferNew Issue
2013-09-12 05:05XueferFile Added: test.tbz
2013-09-12 08:41Brad KingRelationship addedrelated to 0013900
2013-09-12 08:42Brad KingNote Added: 0033808
2013-09-12 08:42Brad KingStatusnew => backlog
2016-06-10 14:29Kitware RobotNote Added: 0042363
2016-06-10 14:29Kitware RobotStatusbacklog => resolved
2016-06-10 14:29Kitware RobotResolutionopen => moved
2016-06-10 14:29Kitware RobotAssigned To => Kitware Robot
2016-06-10 14:31Kitware RobotStatusresolved => closed

Notes
(0033808)
Brad King   
2013-09-12 08:42   
I suspect this is the same issue as 0013900, which is due to a VS IDE bug.
(0042363)
Kitware Robot   
2016-06-10 14:29   
Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.