2010-03-09 09:24:29 -06:00
|
|
|
|
|
|
|
if ( CHECK_DETERMINISM )
|
|
|
|
add_definitions ( -DCHECK_DETERMINISM )
|
|
|
|
endif ( CHECK_DETERMINISM )
|
|
|
|
|
|
|
|
include ( ${QT_USE_FILE} )
|
|
|
|
|
|
|
|
include_directories ( ${KATABATIC_SOURCE_DIR}/src
|
|
|
|
${CORIOLIS_INCLUDE_DIR}
|
2010-06-18 09:03:16 -05:00
|
|
|
${HURRICANE_INCLUDE_DIR}
|
|
|
|
${CONFIGURATION_INCLUDE_DIR}
|
2010-03-09 09:24:29 -06:00
|
|
|
)
|
|
|
|
set ( includes katabatic/Configuration.h
|
|
|
|
katabatic/AutoContact.h katabatic/AutoContacts.h
|
|
|
|
katabatic/AutoSegment.h katabatic/AutoSegments.h
|
|
|
|
katabatic/AutoHorizontal.h
|
|
|
|
katabatic/AutoVertical.h
|
|
|
|
katabatic/Grid.h katabatic/GridCollections.h
|
|
|
|
katabatic/GridBox.h
|
|
|
|
katabatic/GCell.h katabatic/GCells.h
|
|
|
|
katabatic/GCellGrid.h
|
|
|
|
katabatic/Session.h
|
|
|
|
katabatic/KatabaticEngine.h
|
|
|
|
katabatic/GraphicKatabaticEngine.h
|
|
|
|
)
|
|
|
|
set ( mocIncludes katabatic/GraphicKatabaticEngine.h )
|
|
|
|
set ( cpps Configuration.cpp
|
|
|
|
AutoContact.cpp
|
|
|
|
AutoContacts.cpp
|
|
|
|
AutoSegment.cpp
|
|
|
|
AutoSegments.cpp
|
|
|
|
AutoHorizontal.cpp
|
|
|
|
AutoVertical.cpp
|
|
|
|
Grid.cpp
|
|
|
|
GCell.cpp
|
|
|
|
GCellGrid.cpp
|
|
|
|
PowerRails.cpp
|
|
|
|
Session.cpp
|
|
|
|
LayerAssign.cpp
|
|
|
|
LoadGrByNet.cpp
|
|
|
|
NetConstraints.cpp
|
|
|
|
NetOptimals.cpp
|
|
|
|
KatabaticEngine.cpp
|
|
|
|
GraphicKatabaticEngine.cpp
|
|
|
|
)
|
|
|
|
qt4_wrap_cpp ( mocCpps ${mocIncludes} )
|
|
|
|
|
|
|
|
|
|
|
|
add_library ( katabatic ${cpps} ${mocCpps} )
|
2010-07-12 10:11:56 -05:00
|
|
|
target_link_libraries ( katabatic ${KNIK_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-05-17 16:19:12 -05:00
|
|
|
install ( TARGETS katabatic DESTINATION lib${LIB_SUFFIX} )
|
2010-03-09 09:24:29 -06:00
|
|
|
install ( FILES ${includes}
|
2010-05-18 07:53:08 -05:00
|
|
|
${mocIncludes} DESTINATION include/coriolis2/katabatic )
|
2010-03-09 09:24:29 -06:00
|
|
|
|