[CMake] How to build INSTALL project from the command line?
Aaron_Wright at selinc.com
Aaron_Wright at selinc.com
Tue Nov 10 17:09:02 EST 2009
I've been trying to build the INSTALL project as part of the solution from
the commandline. For example, after running:
cmake -G "Visual Studio 9 2008" ..
I've tried:
msbuild /t:INSTALL /p:Configuration=Release solution.sln
But this builds ALL_BUILD and then tells me tells me:
The project "INSTALL" is not selected for building in solution
configuration "Release|Win32"
Is there a way to make this work from cmake's end? I've tried every
commandline swtich I can think of for msbuild but have had no luck. I can
build the INSTALL.vcproj directly, but this looses the dependencies
between projects, like INSTALL's dependency on ALL_BUILD. I'd like to get
this done with one call if possible.
---------------------------------------------------------
Aaron Wright
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20091110/d53e8475/attachment.htm>
More information about the CMake
mailing list