MantisBT - CMake
View Issue Details
0015609CMakeCMakepublic2015-06-11 02:182016-01-04 11:51
Hendrik Sattler 
Brad King 
normalminoralways
closedfixed 
CMake 3.2.2 
CMake 3.4CMake 3.4 
0015609: cmake --build <path> fails with MSBuild
The following fails on Windows7 with Visual Studio 2010.

------------------------------------------------------------
> cmake --build build/foo --target doc --config Release
Microsoft (R) Build Engine version 4.0.30319.18408
[Microsoft .NET Framework, version 4.0.30319.18444]
Copyright (C) Microsoft Corporation. All rights reserved.

MSBUILD : error MSB1009: Project file does not exist.
Switch: doc.vcxproj
------------------------------------------------------------

Needless to say that the target exists because it works when I run
> cd build/foo
> cmake --build . --target doc --config Release
No tags attached.
Issue History
2015-06-11 02:18Hendrik SattlerNew Issue
2015-06-11 02:27rtryutugdNote Added: 0038904
2015-06-11 02:28rtryutugdNote Added: 0038905
2015-06-11 02:29rtryutugdNote Added: 0038906
2015-06-11 09:02Brad KingNote Deleted: 0038904
2015-06-11 09:02Brad KingNote Deleted: 0038905
2015-06-11 09:02Brad KingNote Deleted: 0038906
2015-06-11 16:08Brad KingAssigned To => Brad King
2015-06-11 16:08Brad KingStatusnew => assigned
2015-06-11 16:08Brad KingTarget Version => CMake 3.4
2015-06-15 10:13Brad KingNote Added: 0038927
2015-06-15 10:14Brad KingStatusassigned => resolved
2015-06-15 10:14Brad KingResolutionopen => fixed
2015-06-15 10:14Brad KingFixed in Version => CMake 3.4
2016-01-04 11:51Robert MaynardNote Added: 0040069
2016-01-04 11:51Robert MaynardStatusresolved => closed

Notes
(0038927)
Brad King   
2015-06-15 10:13   
Fixed and test case added:

 cmake: Fix --build <relative-dir> for VS generators
 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=90ad087a [^]
(0040069)
Robert Maynard   
2016-01-04 11:51   
Closing resolved issues that have not been updated in more than 4 months.