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
|
|
|
|
PyLayer.cpp
|
|
|
|
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
|
|
|
|
PyPad.cpp
|
|
|
|
PyPath.cpp
|
|
|
|
PyPin.cpp
|
|
|
|
PyPinCollection.cpp
|
|
|
|
PyPlug.cpp
|
|
|
|
PyPlugCollection.cpp
|
|
|
|
PyPoint.cpp
|
|
|
|
PyReference.cpp
|
|
|
|
PyReferenceCollection.cpp
|
|
|
|
PySegment.cpp
|
|
|
|
PySegmentCollection.cpp
|
|
|
|
PyTechnology.cpp
|
|
|
|
PyTransformation.cpp
|
|
|
|
PyDbU.cpp
|
|
|
|
PyUpdateSession.cpp
|
|
|
|
PyVertical.cpp
|
|
|
|
)
|
|
|
|
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
|
|
|
|
hurricane/isobar/PyLayer.h
|
|
|
|
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
|
|
|
|
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
|
|
|
|
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
|
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} )
|
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
|
|
|
)
|
2010-07-15 06:13:24 -05: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 )
|