[CMake] Using msbuild

David Cole david.cole at kitware.com
Mon Nov 1 09:22:07 EDT 2010


If you open up the sln file in Visual Studio, is there an INSTALL target?

You can try using cmake --build on the command line:

cmake --build . --target install --config Debug

Should work...


Let us know,
David


On Mon, Nov 1, 2010 at 8:30 AM, Thomas Lehmann <t.lehmann at rtsgroup.net>wrote:

>  Hi all,
>
>
>
> on Unix  I can use „make install” but I have no clue how
>
> do it on windows. Can somebody please help?
>
>
>
> This is what I have defined in my demo environment:
>
> install(TARGETS app2 RUNTIME DESTINATION ${CMAKE_BINARY_DIR}/bin)
>
>
>
> Try:
>
> msbuild Project.sln /target:install
>
> > INSTALL:
>
> >  The project "INSTALL" is not selected for building in solution
> configuration "Debug|Win32".
>
>
>
> Kind Regards
>
> Thomas
>
> Thomas Lehmann
> Scrum Master
>
> RTS Realtime Systems Software GmbH, Rembrandtstrasse 13, D-60596 Frankfurt
> am Main
> T: +49.69.61009.0 / F: +49.69.61009.181
>
> Sitz: Frankfurt am Main - HRB 84467 Amtsgericht Frankfurt am Main
> Geschäftsführer: Steffen Gemuenden, Igor Sluga
>
> www.rtsgroup.net
>
> This email and any attachments are for the exclusive and confidential use
> of the intended recipient. If you are not the intended recipient, or an
> employee or agent responsible for delivering this message to the intended
> recipient, please do not read, distribute or take action in reliance upon
> this message. If you have received this in error, please notify me
> immediately by return email and promptly delete this message and its
> attachments from your computer system.
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the CMake FAQ at:
> http://www.cmake.org/Wiki/CMake_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.cmake.org/mailman/listinfo/cmake
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20101101/8ac65708/attachment.htm>


More information about the CMake mailing list