[CMake] ExternalProject and Visual studio solutions

2017-08-24 Thread ycollette . nospam
Hello, I use cmake 3.8.2 with visual studio 2013 64 bits. I wanted to compile a thirdparty library using ExternalProject When I do this, I meet errors: cmake is trying to read the download timestamp in the wrong directory: the thirdparty library id build in ${CMAKE_BINARY_DIR}/_dep/CoinMP-1.8.

Re: [CMake] ExternalProject and Visual Studio

2010-08-24 Thread Guillaume Duhamel
> > Don't do this on line 175: (just delete the line) > BUILD_COMMAND ${CMAKE_BUILD_TOOL} > > Instead, just let cmake compute the BUILD_COMMAND for you... > > The default build command for ExternalProject_Add for cmake-built projects > is something like: > cmake --build . --config Release > > > It

Re: [CMake] ExternalProject and Visual Studio

2010-08-24 Thread David Cole
Don't do this on line 175: (just delete the line) BUILD_COMMAND ${CMAKE_BUILD_TOOL} Instead, just let cmake compute the BUILD_COMMAND for you... The default build command for ExternalProject_Add for cmake-built projects is something like: cmake --build . --config Release HTH, David On Tue, Au

[CMake] ExternalProject and Visual Studio

2010-08-24 Thread Guillaume Duhamel
Hi, I'm using ExternalProject_Add to build a native-only part of my project. When used with Visual Studio, the build step only opens a new Visual Studio instance and doesn't automatically start building... in fact, it doesn't even choose the solution file. Is there any way to automatically open a