Am Tuesday 07 September 2010 schrieb David Aldrich: > Hi > > I want to run the CMake tutorial > (http://www.cmake.org/cmake/help/cmake_tutorial.html). > > The tutorial appears not to show the CMake commands necessary to build > program. On Windows what command should I use to build the Tutorial > executable with Visual C++ 2008?
You should create the programs with '-G "Visual Studio 9 2008"' to get a MSVC solution file. Load that one and just let it build. You could open a compiler console (Start -> Programs -> Microsoft Visual Studio 2008 -> Tools -> x86 command prompt (or something like that)) and use '-G "NMake Makefiles"'. Then you would run "nmake" from that command window to build. You need to run cmake in that window or it will not be able to detect the proper compiler settings for nmake otherwise. Eike
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ 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