FindGCCXML.cmake 542 B

1234567891011121314151617181920212223242526
  1. # Distributed under the OSI-approved BSD 3-Clause License. See accompanying
  2. # file Copyright.txt or https://cmake.org/licensing for details.
  3. #.rst:
  4. # FindGCCXML
  5. # ----------
  6. #
  7. # Find the GCC-XML front-end executable.
  8. #
  9. #
  10. #
  11. # This module will define the following variables:
  12. #
  13. # ::
  14. #
  15. # GCCXML - the GCC-XML front-end executable.
  16. find_program(GCCXML
  17. NAMES gccxml
  18. ../GCC_XML/gccxml
  19. PATHS [HKEY_CURRENT_USER\\Software\\Kitware\\GCC_XML;loc]
  20. "$ENV{ProgramFiles}/GCC_XML"
  21. "C:/Program Files/GCC_XML"
  22. )
  23. mark_as_advanced(GCCXML)