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, Aug 24, 2010 at 4:21 PM, Guillaume Duhamel < guillaume.duha...@gmail.com> wrote: > 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 solution file and start building? > > If it can help, here is my CMakelist.txt : > > http://yabause.svn.sourceforge.net/viewvc/yabause/branches/yabause-cmake/src/CMakeLists.txt?revision=2574&view=markup > > Thanks, > Guillaume > > > _______________________________________________ > 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 >
_______________________________________________ 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