2 # VCExpress does not support cross compiling, which is necessary for Win CE
3 SET( _CMAKE_MAKE_PROGRAM_NAMES devenv)
4 IF(NOT CMAKE_CROSSCOMPILING)
5 SET( _CMAKE_MAKE_PROGRAM_NAMES ${_CMAKE_MAKE_PROGRAM_NAMES} VCExpress)
6 ENDIF(NOT CMAKE_CROSSCOMPILING)
8 FIND_PROGRAM(CMAKE_MAKE_PROGRAM
11 "$ENV{SYSTEMROOT}/Microsoft.NET/Framework/v4.0.20506/"
12 c:/WINDOWS/Microsoft.NET/Framework/v4.0.20506/
15 FIND_PROGRAM(CMAKE_MAKE_PROGRAM
16 NAMES ${_CMAKE_MAKE_PROGRAM_NAMES}
18 [HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\10.0\\Setup\\VS;EnvironmentDirectory]
19 [HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\10.0\\Setup;Dbghelp_path]
20 "$ENV{ProgramFiles}/Microsoft Visual Studio 10.0/Common7/IDE"
21 "$ENV{ProgramFiles}/Microsoft Visual Studio10.0/Common7/IDE"
22 "$ENV{ProgramFiles}/Microsoft Visual Studio 10/Common7/IDE"
23 "$ENV{ProgramFiles}/Microsoft Visual Studio10/Common7/IDE"
24 "$ENV{ProgramFiles} (x86)/Microsoft Visual Studio 10.0/Common7/IDE"
25 "$ENV{ProgramFiles} (x86)/Microsoft Visual Studio10.0/Common7/IDE"
26 "$ENV{ProgramFiles} (x86)/Microsoft Visual Studio 10/Common7/IDE"
27 "$ENV{ProgramFiles} (x86)/Microsoft Visual Studio10/Common7/IDE"
28 "/Program Files/Microsoft Visual Studio 10.0/Common7/IDE/"
29 "/Program Files/Microsoft Visual Studio 10/Common7/IDE/"
31 "$ENV{ProgramFiles} (x86)/Microsoft Visual Studio .NET/Common7/IDE"
32 "$ENV{ProgramFiles}/Microsoft Visual Studio .NET/Common7/IDE"
36 MARK_AS_ADVANCED(CMAKE_MAKE_PROGRAM)
38 SET(MSVC_VERSION 1600)