I should also add that I am building in 64 bit mode and had to install the 7.1 SDK along with a compiler patch to get Visual Studio 2010 express working at all for 64 bit builds.
Dan From: Macumber, Daniel Sent: Friday, November 22, 2013 8:49 PM To: [email protected] Subject: ExternalProject BUILD_COMMAND and Visual Studio Express 2010 Our project is using ExternalProject_Add to build Ruby. Our BUILD_COMMAND on Windows is "cd ${CMAKE_BINARY_DIR}/Ruby-prefix/src/Ruby-build && nmake". This works using the professional versions of Visual Studio. However, using Visual Studio Express 2010 I get an error that nmake is not a known program. Nmake is not in my system path but is found when running the Visual Studio command prompt. How can I get the ExternalProject build command to use the correct environment? Should I put a call to vcvarsall.bat in the command line? Is there a CMake variable that has the path to that? Thanks a lot, Dan
-- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
