TZIVI-254: IVI needs a newer version of cmake
[profile/ivi/cmake.git] / Modules / CMakeVS71FindMake.cmake
1
2 #=============================================================================
3 # Copyright 2003-2009 Kitware, Inc.
4 #
5 # Distributed under the OSI-approved BSD License (the "License");
6 # see accompanying file Copyright.txt for details.
7 #
8 # This software is distributed WITHOUT ANY WARRANTY; without even the
9 # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
10 # See the License for more information.
11 #=============================================================================
12 # (To distribute this file outside of CMake, substitute the full
13 #  License text for the above reference.)
14
15 FIND_PROGRAM(CMAKE_MAKE_PROGRAM
16   NAMES devenv
17   PATHS
18   [HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\7.1\\Setup\\VS;EnvironmentDirectory]
19   "$ENV{ProgramFiles}/Microsoft Visual Studio .NET/Common7/IDE"
20   "c:/Program Files/Microsoft Visual Studio .NET/Common7/IDE"
21   "c:/Program Files/Microsoft Visual Studio.NET/Common7/IDE"
22   "/Program Files/Microsoft Visual Studio .NET/Common7/IDE/"
23   )
24 MARK_AS_ADVANCED(CMAKE_MAKE_PROGRAM)
25 SET(MSVC71 1)
26 SET(MSVC_VERSION 1310)