[CMake] Build install from command line Visual Studio

Anders Backman andersb at cs.umu.se
Tue Mar 3 12:03:24 EST 2009


Hi all.

A slightly off-topic, but perhaps not question ;-)

Is there a way to build the INSTALL project from the command line?

Im trying the following:

devenv /useenv vrlib.sln /build   Debug /project INSTALL

Microsoft (R) Visual Studio Version 9.0.21022.8.
Copyright (C) Microsoft Corp. All rights reserved.
1>------ Skipped Build: Project: INSTALL, Configuration: Debug Win32 ------
1>Project not selected to build for this solution configuration
========== Build: 0 succeeded, 0 failed, 4 up-to-date, 1 skipped ==========

The project INSTALL is not selected in the Build target Debug Win32.

Is there any way to build it anyway? It would be rather handy to be
able to build the CMake Install project from command line too, without
having to go into devenv and enable it for each project.


More information about the CMake mailing list