2010-03-09 09:24:55 -06:00
|
|
|
|
|
|
|
include ( ${QT_USE_FILE} )
|
|
|
|
|
2010-06-08 07:03:24 -05:00
|
|
|
include_directories ( ${KITE_SOURCE_DIR}/src
|
2010-03-09 09:24:55 -06:00
|
|
|
${CORIOLIS_INCLUDE_DIR}
|
2010-06-18 09:03:38 -05:00
|
|
|
${HURRICANE_INCLUDE_DIR}
|
|
|
|
${CONFIGURATION_INCLUDE_DIR}
|
|
|
|
${Boost_INCLUDE_DIRS}
|
2010-03-09 09:24:55 -06:00
|
|
|
)
|
|
|
|
set ( includes kite/TrackSegmentCost.h
|
|
|
|
kite/TrackCost.h
|
|
|
|
kite/DataNegociate.h
|
|
|
|
kite/TrackElement.h kite/TrackElements.h
|
|
|
|
kite/TrackSegment.h
|
|
|
|
kite/TrackBlockage.h
|
|
|
|
kite/TrackFixedSegment.h
|
|
|
|
kite/TrackMarker.h
|
|
|
|
kite/Track.h
|
|
|
|
kite/Tracks.h
|
|
|
|
kite/HorizontalTrack.h
|
|
|
|
kite/VerticalTrack.h
|
|
|
|
kite/Session.h
|
|
|
|
kite/RoutingEvent.h
|
|
|
|
kite/RoutingEventQueue.h
|
|
|
|
kite/RoutingEventHistory.h
|
|
|
|
kite/GCell.h
|
|
|
|
kite/GCellGrid.h
|
|
|
|
kite/GCellRoutingSet.h
|
|
|
|
kite/RoutingPlane.h
|
|
|
|
kite/NegociateWindow.h
|
|
|
|
kite/Configuration.h
|
|
|
|
kite/KiteEngine.h
|
|
|
|
kite/GraphicKiteEngine.h
|
|
|
|
)
|
2010-06-18 09:03:38 -05:00
|
|
|
set ( mocIncludes kite/GraphicKiteEngine.h )
|
2010-03-09 09:24:55 -06:00
|
|
|
set ( cpps TrackSegmentCost.cpp
|
|
|
|
TrackCost.cpp
|
|
|
|
DataNegociate.cpp
|
|
|
|
TrackElement.cpp
|
|
|
|
TrackElements.cpp
|
|
|
|
TrackSegment.cpp
|
|
|
|
TrackBlockage.cpp
|
|
|
|
TrackFixedSegment.cpp
|
|
|
|
TrackMarker.cpp
|
|
|
|
Track.cpp
|
|
|
|
Tracks.cpp
|
|
|
|
HorizontalTrack.cpp
|
|
|
|
VerticalTrack.cpp
|
|
|
|
Session.cpp
|
|
|
|
RoutingEvent.cpp
|
|
|
|
RoutingEventQueue.cpp
|
|
|
|
RoutingEventHistory.cpp
|
|
|
|
GCell.cpp
|
|
|
|
GCellGrid.cpp
|
|
|
|
GCellRoutingSet.cpp
|
|
|
|
RoutingPlane.cpp
|
|
|
|
BuildBlockages.cpp
|
|
|
|
BuildPowerRails.cpp
|
|
|
|
PreProcess.cpp
|
|
|
|
NegociateWindow.cpp
|
|
|
|
Configuration.cpp
|
|
|
|
KiteEngine.cpp
|
|
|
|
GraphicKiteEngine.cpp
|
|
|
|
)
|
|
|
|
set ( kitecpps KiteMain.cpp )
|
|
|
|
qt4_wrap_cpp ( mocCpps ${mocIncludes} )
|
|
|
|
|
|
|
|
|
2010-07-12 10:12:20 -05:00
|
|
|
add_library ( kite ${cpps} ${mocCpps} )
|
|
|
|
target_link_libraries ( kite ${KATABATIC_LIBRARIES}
|
|
|
|
${KNIK_LIBRARIES}
|
|
|
|
${NIMBUS_LIBRARIES}
|
|
|
|
${CORIOLIS_LIBRARIES}
|
|
|
|
${HURRICANE_PYTHON_LIBRARIES}
|
|
|
|
${HURRICANE_GRAPHICAL_LIBRARIES}
|
|
|
|
${HURRICANE_LIBRARIES}
|
|
|
|
${CONFIGURATION_LIBRARY}
|
|
|
|
${CIF_LIBRARY}
|
|
|
|
${AGDS_LIBRARY}
|
|
|
|
${LEFDEF_LIBRARIES}
|
|
|
|
${OA_LIBRARIES}
|
|
|
|
${QT_LIBRARIES}
|
|
|
|
${Boost_LIBRARIES}
|
|
|
|
${LIBXML2_LIBRARIES}
|
|
|
|
${PYTHON_LIBRARIES} -lutil
|
2010-03-09 09:24:55 -06:00
|
|
|
)
|
|
|
|
|
2010-07-12 10:12:20 -05:00
|
|
|
add_executable ( kite-text ${kitecpps} )
|
|
|
|
target_link_libraries ( kite-text kite )
|
|
|
|
install ( TARGETS kite DESTINATION lib${LIB_SUFFIX} )
|
|
|
|
install ( TARGETS kite-text DESTINATION bin )
|
|
|
|
|
|
|
|
install ( FILES ${includes}
|
|
|
|
${mocIncludes} DESTINATION include/coriolis2/kite )
|
2010-03-09 09:24:55 -06:00
|
|
|
|