summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Modules/FindGCCXML.cmake9
1 files changed, 9 insertions, 0 deletions
diff --git a/Modules/FindGCCXML.cmake b/Modules/FindGCCXML.cmake
new file mode 100644
index 0000000..f6ae142
--- /dev/null
+++ b/Modules/FindGCCXML.cmake
@@ -0,0 +1,9 @@
+FIND_PROGRAM(GCCXML gccxml
+ /usr/local/bin
+ /usr/bin
+ [HKEY_CURRENT_USER\\Software\\Kitware\\GCC_XML;loc]
+ "C:/Program Files/GCC_XML")
+
+IF(GCCXML)
+ CONFIGURE_GCCXML(${GCCXML} GCCXML_FLAGS)
+ENDIF(GCCXML)