FindGCCXML.cmake 960 B

123456789101112131415161718192021222324252627
  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. # Copyright 2001-2009 Kitware, Inc.
  7. #
  8. # Distributed under the OSI-approved BSD License (the "License");
  9. # see accompanying file Copyright.txt for details.
  10. #
  11. # This software is distributed WITHOUT ANY WARRANTY; without even the
  12. # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  13. # See the License for more information.
  14. #=============================================================================
  15. # (To distribute this file outside of CMake, substitute the full
  16. # License text for the above reference.)
  17. FIND_PROGRAM(GCCXML
  18. NAMES gccxml
  19. ../GCC_XML/gccxml
  20. PATHS [HKEY_CURRENT_USER\\Software\\Kitware\\GCC_XML;loc]
  21. "$ENV{ProgramFiles}/GCC_XML"
  22. "C:/Program Files/GCC_XML"
  23. )
  24. MARK_AS_ADVANCED(GCCXML)