Hello,
CMake 2.6.4 cannot generate project for VS2008 Win32 on the following
environment:
- Windows Serevr 2003 Enterprise x64
- VS2003 (32bit)
- VS2005 (32bit)
- VS2008 (32bit)
It uses VS2003 toolset instead VS2008 because of the order of the
directories in the CMakeVS9FindMake.cmake.
I changed this file like following:
FIND_PROGRAM(CMAKE_MAKE_PROGRAM
NAMES VCExpress devenv
PATHS
"$ENV{VS90COMNTOOLS}/../IDE"
)
MARK_AS_ADVANCED(CMAKE_MAKE_PROGRAM)
SET(MSVC90 1)
SET(MSVC_VERSION 1500)
And now it works well. Suppose we should not use directories in this file.
The best way is to use registry or environment variable.
Regards.
Dima
_______________________________________________
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