FindGCCXML.cmake 1007 B

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