FindGCCXML.cmake 862 B

123456789101112131415161718192021222324
  1. # - Find the GCC-XML front-end executable.
  2. #=============================================================================
  3. # Copyright 2001-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 distributed this file outside of CMake, substitute the full
  13. # License text for the above reference.)
  14. FIND_PROGRAM(GCCXML
  15. NAMES gccxml
  16. ../GCC_XML/gccxml
  17. PATHS [HKEY_CURRENT_USER\\Software\\Kitware\\GCC_XML;loc]
  18. "$ENV{ProgramFiles}/GCC_XML"
  19. "C:/Program Files/GCC_XML"
  20. )
  21. MARK_AS_ADVANCED(GCCXML)