[cmake-developers] [CMake 0012623]: ctest_build() with Visual Studio 2008 Generator calling wrong Solution name.

Mantis Bug Tracker mantis at public.kitware.com
Tue Dec 13 06:49:50 EST 2011


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=12623 
====================================================================== 
Reported By:                doob
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   12623
Category:                   CTest
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2011-12-13 06:49 EST
Last Modified:              2011-12-13 06:49 EST
====================================================================== 
Summary:                    ctest_build() with Visual Studio 2008 Generator
calling wrong Solution name.
Description: 
If configured to build a Visual Studio 2008 Solution the ctest_build() command
fails if the executable target name of the project doesn't match the projects
name set by the project() cmake command.

CTest calls: 
VCExpress.exe ${Targetname}.sln /build Release /project ALL_BUILD

instead of 
VCExpress.exe ${Projectname}.sln /build Release /project ALL_BUILD

However the name of the solution that must be given on the commandline is set to
the name given by project() in CMakeLists.txt, so calling VisualStudio with the
name of the target is a bug. 


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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-12-13 06:49 doob           New Issue                                    
======================================================================




More information about the cmake-developers mailing list