[cmake-developers] [CMake 0015609]: cmake --build <path> fails with MSBuild

Mantis Bug Tracker mantis at public.kitware.com
Thu Jun 11 02:18:51 EDT 2015


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=15609 
====================================================================== 
Reported By:                Hendrik Sattler
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   15609
Category:                   CMake
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2015-06-11 02:18 EDT
Last Modified:              2015-06-11 02:18 EDT
====================================================================== 
Summary:                    cmake --build <path> fails with MSBuild
Description: 
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

====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2015-06-11 02:18 Hendrik SattlerNew Issue                                    
======================================================================



More information about the cmake-developers mailing list