Hi, Since the syntax can change between version of Visual Studio, you could try to use cmake directly:
cd C:\path\to\project-build cmake.exe --build . --target INSTALL --config Release See http://www.cmake.org/cmake/help/v2.8.10/cmake.html#opt:--builddir Alternatively, you could also open the associated solution file in visual studio and build the INSTALL target. Hth Jc On Fri, Apr 12, 2013 at 5:58 PM, Paul Smith <p...@mad-scientist.net> wrote: > On Fri, 2013-04-12 at 17:04 -0400, Jean-Christophe Fillion-Robin wrote: > > Hi Paul, > > > Set option CMAKE_INSTALL_PREFIX to a location of your choice > > > Then, build INSTALL target > > Hi; thanks a lot for your answer! I was able to set > CMAKE_INSTALL_PREFIX; thanks for that. > > Can you give a specific example of how to "build INSTALL target"? I > can't figure out how that should work. For example I tried: > > devenv CMake.sln /Build INSTALL > > but that didn't work; I got this error: > > Invalid solution configuration > > I've tried lots of other options, like "/Deploy INSTALL", just "INSTALL" > by itself, etc. and they all fail with various errors. > > I'm afraid I'm not very knowledgeable about Windows :-(. > > -- +1 919 869 8849
-- 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