CMakeVS71FindMake.cmake 1.04 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11

#=============================================================================
# Copyright 2003-2009 Kitware, Inc.
#
# Distributed under the OSI-approved BSD License (the "License");
# see accompanying file Copyright.txt for details.
#
# This software is distributed WITHOUT ANY WARRANTY; without even the
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
# See the License for more information.
#=============================================================================
12
# (To distribute this file outside of CMake, substitute the full
13
14
#  License text for the above reference.)

Bill Hoffman's avatar
Bill Hoffman committed
15
FIND_PROGRAM(CMAKE_MAKE_PROGRAM
16
17
18
  NAMES devenv
  PATHS
  [HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\7.1\\Setup\\VS;EnvironmentDirectory]
19
  "$ENV{ProgramFiles}/Microsoft Visual Studio .NET/Common7/IDE"
20
21
22
23
  "c:/Program Files/Microsoft Visual Studio .NET/Common7/IDE"
  "c:/Program Files/Microsoft Visual Studio.NET/Common7/IDE"
  "/Program Files/Microsoft Visual Studio .NET/Common7/IDE/"
  )
Bill Hoffman's avatar
Bill Hoffman committed
24
MARK_AS_ADVANCED(CMAKE_MAKE_PROGRAM)
25
SET(MSVC71 1)