Hi,

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.

$ cmake . -DUSE_LOCAL_BUILD=ON -DLOCAL_BIN_DIR="$LOCAL_BIN_DIR"
-- Building for: Visual Studio 9 2008
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.
-- Configuring incomplete, errors occurred!

What I fail to understand is, is why cmake insists on a compiler, when the
first line in my CMakeLists.txt reads:

PROJECT( GUITEST NONE )

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.

The machine (win7) where it works like on a few others shows:

Running with trace output on.
D:/Users/tester/workspace/guitest/CMakeLists.txt(1):  PROJECT(GUITEST NONE )
CMake Warning at CMakeLists.txt:1 (PROJECT):v
  compiler cl from the command line.  This environment does not contain
  INCLUDE, LIB, or LIBPATH, and these must be set for the cl compiler to
  work.

Any clues would be greatly appreciated, I don't need or want a compiler.
Just run cmake and ctest after.

Thanks, Arjen

--
-- 

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

Reply via email to