Imported Upstream version 2.8.10.2
[platform/upstream/cmake.git] / Modules / FindGCCXML.cmake
1 # - Find the GCC-XML front-end executable.
2 #
3 # This module will define the following variables:
4 #  GCCXML - the GCC-XML front-end executable.
5
6 #=============================================================================
7 # Copyright 2001-2009 Kitware, Inc.
8 #
9 # Distributed under the OSI-approved BSD License (the "License");
10 # see accompanying file Copyright.txt for details.
11 #
12 # This software is distributed WITHOUT ANY WARRANTY; without even the
13 # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
14 # See the License for more information.
15 #=============================================================================
16 # (To distribute this file outside of CMake, substitute the full
17 #  License text for the above reference.)
18
19 find_program(GCCXML
20   NAMES gccxml
21         ../GCC_XML/gccxml
22   PATHS [HKEY_CURRENT_USER\\Software\\Kitware\\GCC_XML;loc]
23   "$ENV{ProgramFiles}/GCC_XML"
24   "C:/Program Files/GCC_XML"
25 )
26
27 mark_as_advanced(GCCXML)