[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[certi-cvs] applications/PyHLA/hla _rti/CMakeLists.txt _omt...
From: |
certi-cvs |
Subject: |
[certi-cvs] applications/PyHLA/hla _rti/CMakeLists.txt _omt... |
Date: |
Sat, 15 Nov 2008 14:32:26 +0000 |
CVSROOT: /sources/certi
Module name: applications
Changes by: Petr Gotthard <gotthardp> 08/11/15 14:32:26
Modified files:
PyHLA/hla/_rti : CMakeLists.txt
PyHLA/hla/_omt : CMakeLists.txt
Log message:
Added debug mode that enables integration with python_d.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/applications/PyHLA/hla/_rti/CMakeLists.txt?cvsroot=certi&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/applications/PyHLA/hla/_omt/CMakeLists.txt?cvsroot=certi&r1=1.2&r2=1.3
Patches:
Index: _rti/CMakeLists.txt
===================================================================
RCS file: /sources/certi/applications/PyHLA/hla/_rti/CMakeLists.txt,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- _rti/CMakeLists.txt 3 Oct 2008 15:02:23 -0000 1.2
+++ _rti/CMakeLists.txt 15 Nov 2008 14:32:25 -0000 1.3
@@ -20,13 +20,20 @@
SET_TARGET_PROPERTIES(_rti PROPERTIES SUFFIX ".pyd")
ENDIF (WIN32)
-TARGET_LINK_LIBRARIES(_rti
+IF (CMAKE_BUILD_TYPE MATCHES Debug)
+ TARGET_LINK_LIBRARIES(_rti
+ ${PYTHON_DEBUG_LIBRARY}
+ ${RTI_LIBRARIES})
+ SET_TARGET_PROPERTIES(_rti PROPERTIES OUTPUT_NAME "_rti_d")
+ELSE (CMAKE_BUILD_TYPE MATCHES Debug)
+ TARGET_LINK_LIBRARIES(_rti
${PYTHON_LIBRARY}
${RTI_LIBRARIES})
+ENDIF (CMAKE_BUILD_TYPE MATCHES Debug)
INSTALL(TARGETS _rti
RUNTIME DESTINATION hla
LIBRARY DESTINATION hla
ARCHIVE DESTINATION hla)
-# $Id: CMakeLists.txt,v 1.2 2008/10/03 15:02:23 gotthardp Exp $
+# $Id: CMakeLists.txt,v 1.3 2008/11/15 14:32:25 gotthardp Exp $
Index: _omt/CMakeLists.txt
===================================================================
RCS file: /sources/certi/applications/PyHLA/hla/_omt/CMakeLists.txt,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- _omt/CMakeLists.txt 3 Oct 2008 15:02:23 -0000 1.2
+++ _omt/CMakeLists.txt 15 Nov 2008 14:32:25 -0000 1.3
@@ -11,12 +11,18 @@
SET_TARGET_PROPERTIES(_omt PROPERTIES SUFFIX ".pyd")
ENDIF (WIN32)
-TARGET_LINK_LIBRARIES(_omt
+IF (CMAKE_BUILD_TYPE MATCHES Debug)
+ TARGET_LINK_LIBRARIES(_omt
+ ${PYTHON_DEBUG_LIBRARY})
+ SET_TARGET_PROPERTIES(_omt PROPERTIES OUTPUT_NAME "_omt_d")
+ELSE (CMAKE_BUILD_TYPE MATCHES Debug)
+ TARGET_LINK_LIBRARIES(_omt
${PYTHON_LIBRARY})
+ENDIF (CMAKE_BUILD_TYPE MATCHES Debug)
INSTALL(TARGETS _omt
RUNTIME DESTINATION hla
LIBRARY DESTINATION hla
ARCHIVE DESTINATION hla)
-# $Id: CMakeLists.txt,v 1.2 2008/10/03 15:02:23 gotthardp Exp $
+# $Id: CMakeLists.txt,v 1.3 2008/11/15 14:32:25 gotthardp Exp $
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [certi-cvs] applications/PyHLA/hla _rti/CMakeLists.txt _omt...,
certi-cvs <=