2008-03-06 10:46:43 -06:00
|
|
|
|
2010-07-06 05:10:50 -05:00
|
|
|
include ( ${QT_USE_FILE} )
|
|
|
|
|
2010-06-08 07:02:03 -05:00
|
|
|
include_directories ( ${HURRICANE_SOURCE_DIR}/src/hurricane
|
2010-07-06 05:10:50 -05:00
|
|
|
${HURRICANE_SOURCE_DIR}/src/viewer
|
2008-06-09 11:56:48 -05:00
|
|
|
${HURRICANE_SOURCE_DIR}/src/isobar
|
2010-06-08 07:02:03 -05:00
|
|
|
${PYTHON_INCLUDE_PATH}
|
2008-05-21 17:46:29 -05:00
|
|
|
)
|
2010-07-01 06:46:29 -05:00
|
|
|
set ( sources ProxyProperty.cpp
|
2010-07-12 10:07:58 -05:00
|
|
|
PyBreakpoint.cpp
|
2010-07-01 06:46:29 -05:00
|
|
|
PyBox.cpp
|
|
|
|
PyCell.cpp
|
|
|
|
PyCellCollection.cpp
|
|
|
|
PyComponent.cpp
|
|
|
|
PyComponentCollection.cpp
|
|
|
|
PyContact.cpp
|
|
|
|
PyDataBase.cpp
|
|
|
|
PyEntity.cpp
|
|
|
|
PyHorizontal.cpp
|
|
|
|
PyHurricane.cpp
|
|
|
|
PyHyperNet.cpp
|
|
|
|
PyInstance.cpp
|
|
|
|
PyInstanceCollection.cpp
|
2012-11-16 06:48:38 -06:00
|
|
|
PyMaterial.cpp
|
2010-07-01 06:46:29 -05:00
|
|
|
PyLayer.cpp
|
2012-11-16 06:48:38 -06:00
|
|
|
PyLayerMask.cpp
|
|
|
|
PyBasicLayer.cpp
|
|
|
|
PyRegularLayer.cpp
|
|
|
|
PyContactLayer.cpp
|
|
|
|
PyDiffusionLayer.cpp
|
|
|
|
PyTransistorLayer.cpp
|
|
|
|
PyViaLayer.cpp
|
|
|
|
PyLayerCollection.cpp
|
|
|
|
PyBasicLayerCollection.cpp
|
|
|
|
PyRegularLayerCollection.cpp
|
|
|
|
PyViaLayerCollection.cpp
|
2010-07-01 06:46:29 -05:00
|
|
|
PyLibrary.cpp
|
|
|
|
PyNet.cpp
|
|
|
|
PyNetCollection.cpp
|
2010-07-12 10:07:58 -05:00
|
|
|
PyNetExternalComponents.cpp
|
2010-07-01 06:46:29 -05:00
|
|
|
PyOccurrence.cpp
|
|
|
|
PyOccurrenceCollection.cpp
|
2013-04-27 11:02:00 -05:00
|
|
|
PyHook.cpp
|
2013-04-27 12:51:33 -05:00
|
|
|
PyHookCollection.cpp
|
2010-07-01 06:46:29 -05:00
|
|
|
PyPad.cpp
|
|
|
|
PyPath.cpp
|
|
|
|
PyPin.cpp
|
|
|
|
PyPinCollection.cpp
|
|
|
|
PyPlug.cpp
|
|
|
|
PyPlugCollection.cpp
|
|
|
|
PyPoint.cpp
|
|
|
|
PyReference.cpp
|
|
|
|
PyReferenceCollection.cpp
|
2013-03-13 08:38:15 -05:00
|
|
|
PyRoutingPad.cpp
|
2010-07-01 06:46:29 -05:00
|
|
|
PySegment.cpp
|
|
|
|
PySegmentCollection.cpp
|
|
|
|
PyTechnology.cpp
|
|
|
|
PyTransformation.cpp
|
|
|
|
PyDbU.cpp
|
|
|
|
PyUpdateSession.cpp
|
|
|
|
PyVertical.cpp
|
2013-02-10 05:52:27 -06:00
|
|
|
PyQueryMask.cpp
|
|
|
|
PyQuery.cpp
|
2010-07-01 06:46:29 -05:00
|
|
|
)
|
|
|
|
set ( includes hurricane/isobar/ProxyProperty.h
|
2010-07-12 10:07:58 -05:00
|
|
|
hurricane/isobar/PyBreakpoint.h
|
2010-07-01 06:46:29 -05:00
|
|
|
hurricane/isobar/PyBox.h
|
|
|
|
hurricane/isobar/PyCell.h
|
|
|
|
hurricane/isobar/PyCellCollection.h
|
|
|
|
hurricane/isobar/PyComponent.h
|
|
|
|
hurricane/isobar/PyComponentCollection.h
|
|
|
|
hurricane/isobar/PyContact.h
|
|
|
|
hurricane/isobar/PyDataBase.h
|
|
|
|
hurricane/isobar/PyEntity.h
|
|
|
|
hurricane/isobar/PyHorizontal.h
|
|
|
|
hurricane/isobar/PyHurricane.h
|
|
|
|
hurricane/isobar/PyHyperNet.h
|
|
|
|
hurricane/isobar/PyInstance.h
|
|
|
|
hurricane/isobar/PyInstanceCollection.h
|
2012-11-16 06:48:38 -06:00
|
|
|
hurricane/isobar/PyMaterial.h
|
|
|
|
hurricane/isobar/PyLayerMask.h
|
2010-07-01 06:46:29 -05:00
|
|
|
hurricane/isobar/PyLayer.h
|
2012-11-16 06:48:38 -06:00
|
|
|
hurricane/isobar/PyBasicLayer.h
|
|
|
|
hurricane/isobar/PyRegularLayer.h
|
|
|
|
hurricane/isobar/PyContactLayer.h
|
|
|
|
hurricane/isobar/PyDiffusionLayer.h
|
|
|
|
hurricane/isobar/PyTransistorLayer.h
|
|
|
|
hurricane/isobar/PyLayerCollection.h
|
|
|
|
hurricane/isobar/PyBasicLayerCollection.h
|
|
|
|
hurricane/isobar/PyRegularLayerCollection.h
|
|
|
|
hurricane/isobar/PyViaLayerCollection.h
|
|
|
|
hurricane/isobar/PyViaLayer.h
|
2010-07-01 06:46:29 -05:00
|
|
|
hurricane/isobar/PyLibrary.h
|
|
|
|
hurricane/isobar/PyNet.h
|
|
|
|
hurricane/isobar/PyNetCollection.h
|
2010-07-12 10:07:58 -05:00
|
|
|
hurricane/isobar/PyNetExternalComponents.h
|
2010-07-01 06:46:29 -05:00
|
|
|
hurricane/isobar/PyOccurrence.h
|
|
|
|
hurricane/isobar/PyOccurrenceCollection.h
|
2013-04-27 12:51:33 -05:00
|
|
|
hurricane/isobar/PyHook.h
|
|
|
|
hurricane/isobar/PyHookCollection.h
|
2010-07-01 06:46:29 -05:00
|
|
|
hurricane/isobar/PyPad.h
|
|
|
|
hurricane/isobar/PyPath.h
|
|
|
|
hurricane/isobar/PyPin.h
|
|
|
|
hurricane/isobar/PyPinCollection.h
|
|
|
|
hurricane/isobar/PyPlug.h
|
|
|
|
hurricane/isobar/PyPlugCollection.h
|
|
|
|
hurricane/isobar/PyPoint.h
|
|
|
|
hurricane/isobar/PyReference.h
|
|
|
|
hurricane/isobar/PyReferenceCollection.h
|
2013-03-13 08:38:15 -05:00
|
|
|
hurricane/isobar/PyRoutingPad.h
|
2010-07-01 06:46:29 -05:00
|
|
|
hurricane/isobar/PySegment.h
|
|
|
|
hurricane/isobar/PySegmentCollection.h
|
|
|
|
hurricane/isobar/PyTechnology.h
|
|
|
|
hurricane/isobar/PyTransformation.h
|
|
|
|
hurricane/isobar/PyDbU.h
|
|
|
|
hurricane/isobar/PyUpdateSession.h
|
|
|
|
hurricane/isobar/PyVertical.h
|
2013-02-10 05:52:27 -06:00
|
|
|
hurricane/isobar/PyQueryMask.h
|
|
|
|
hurricane/isobar/PyQuery.h
|
2008-05-21 17:46:29 -05:00
|
|
|
)
|
2008-09-08 03:46:18 -05:00
|
|
|
|
2008-03-06 10:46:43 -06:00
|
|
|
|
2010-07-15 06:13:24 -05:00
|
|
|
add_library ( isobar ${sources} )
|
2011-02-04 05:09:11 -06:00
|
|
|
set_target_properties ( isobar PROPERTIES VERSION 1.0 SOVERSION 1 )
|
2010-11-16 07:43:34 -06:00
|
|
|
target_link_libraries ( isobar hurricane ${Boost_LIBRARIES} ${PYTHON_LIBRARIES})
|
2010-07-12 10:07:58 -05:00
|
|
|
add_library ( Hurricane MODULE ${sources} )
|
|
|
|
set_target_properties ( Hurricane PROPERTIES
|
|
|
|
COMPILE_FLAGS "${COMPILE_FLAGS} -D__PYTHON_MODULE__=1"
|
|
|
|
PREFIX ""
|
2008-05-21 17:46:29 -05:00
|
|
|
)
|
2011-02-04 05:09:11 -06:00
|
|
|
target_link_libraries ( Hurricane isobar )
|
2010-07-12 10:07:58 -05:00
|
|
|
install ( TARGETS isobar DESTINATION lib${LIB_SUFFIX} )
|
|
|
|
install ( TARGETS Hurricane DESTINATION ${PYTHON_SITE_PACKAGES} )
|
2010-07-15 06:13:24 -05:00
|
|
|
install ( FILES ${includes} DESTINATION include/coriolis2/hurricane/isobar )
|