summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2001-07-23 15:06:06 (GMT)
committerBrad King <brad.king@kitware.com>2001-07-23 15:06:06 (GMT)
commitebe08134710bdf5814f59f17a2d9027397eb906b (patch)
tree97bfab1b8a4d7c75fd578b54ad5a23a917457788 /Modules
parent40d79062912042f9d89061f040e4107f06ba464d (diff)
downloadCMake-ebe08134710bdf5814f59f17a2d9027397eb906b.zip
CMake-ebe08134710bdf5814f59f17a2d9027397eb906b.tar.gz
CMake-ebe08134710bdf5814f59f17a2d9027397eb906b.tar.bz2
ENH: Module to find and configure GCCXML and GCCXML_FLAGS.
Diffstat (limited to 'Modules')
-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)