<div dir="ltr"><div style="font-family:arial,sans-serif;font-size:13px">Hi,</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">I'm reinstalling a machine that got a new OS (W2K8R2), and now cmake 2.8.4 refuses to serve me like it does on Windows 7.</div>
<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px"><div>$ cmake . -DUSE_LOCAL_BUILD=ON -DLOCAL_BIN_DIR="$LOCAL_BIN_DIR"</div><div>-- Building for: Visual Studio 9 2008</div>
<div>CMake Error: CMake was unable to find a build program corresponding to "Visual Studio 9 2008". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.</div><div>-- Configuring incomplete, errors occurred!</div>
</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">What I fail to understand is, is why cmake insists on a compiler, when the first line in my CMakeLists.txt reads:</div>
<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">PROJECT( GUITEST NONE )</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">
cmake somehow ends up in CMakeVS9FindMake.cmake but I have no idea why, it doesn't seem to access that file at all according to --trace on the win7 machine.</div><div style="font-family:arial,sans-serif;font-size:13px">
<br></div><div style="font-family:arial,sans-serif;font-size:13px">The machine (win7) where it works like on a few others shows:</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">
<div>Running with trace output on.</div><div>D:/Users/tester/workspace/guitest/CMakeLists.txt(1): PROJECT(GUITEST NONE )</div><div>CMake Warning at CMakeLists.txt:1 (PROJECT):v </div><div> compiler cl from the command line. This environment does not contain</div>
<div> INCLUDE, LIB, or LIBPATH, and these must be set for the cl compiler to</div><div> work.</div></div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">
Any clues would be greatly appreciated, I don't need or want a compiler. Just run cmake and ctest after.</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">
Thanks, Arjen</div><div><br></div>-- <br><p><br></p></div>