View Issue Details [ Jump to Notes ] | [ Print ] |
ID | Project | Category | View Status | Date Submitted | Last Update |
0012502 | GCC-XML | (No Category) | public | 2011-10-07 10:43 | 2011-10-07 10:52 |
|
Reporter | Mathieu Malaterre | |
Assigned To | Brad King | |
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | | OS Version | |
|
Summary | 0012502: Add install rules for gxsys |
Description | It would be really nice if there were some install rules for gxsys. This would typically help packagers for package such as mummy.
The patch is non-invasive, and default behavior is preserved.
Thanks |
Tags | No tags attached. |
|
Attached Files | gccxml_gxsysinstall.patch [^] (862 bytes) 2011-10-07 10:43 [Show Content] [Hide Content]Index: GCC_XML/CMakeLists.txt
===================================================================
RCS file: /cvsroot/GCC_XML/gccxml/GCC_XML/CMakeLists.txt,v
retrieving revision 1.45
diff -u -r1.45 CMakeLists.txt
--- GCC_XML/CMakeLists.txt 24 Feb 2011 21:08:23 -0000 1.45
+++ GCC_XML/CMakeLists.txt 7 Oct 2011 14:41:56 -0000
@@ -96,6 +96,16 @@
SET(KWSYS_LFS_DISABLE 1)
ENDIF("${CMAKE_SYSTEM}" MATCHES "AIX")
INCLUDE_DIRECTORIES(${GCCXML_BINARY_DIR})
+# install gxsys if requested:
+IF(GCCXML_INSTALL_FOR_MUMMY)
+ IF(NOT KWSYS_INSTALL_INCLUDE_DIR)
+ SET(KWSYS_INSTALL_INCLUDE_DIR include)
+ ENDIF(NOT KWSYS_INSTALL_INCLUDE_DIR)
+ IF(NOT KWSYS_INSTALL_LIB_DIR)
+ SET(KWSYS_INSTALL_LIB_DIR lib)
+ ENDIF(NOT KWSYS_INSTALL_LIB_DIR)
+ SET(KWSYS_USE_CommandLineArguments 1)
+ENDIF(GCCXML_INSTALL_FOR_MUMMY)
SUBDIRS(KWSys)
# Installation directories.
|
|