2010-03-09 09:26:22 -06:00
|
|
|
|
|
|
|
include ( ${QT_USE_FILE} )
|
|
|
|
include_directories ( ${Boost_INCLUDE_DIRS}
|
|
|
|
${HURRICANE_INCLUDE_DIR}
|
|
|
|
${CORIOLIS_INCLUDE_DIR}
|
|
|
|
)
|
|
|
|
|
|
|
|
set ( mocincludes unicorn/UnicornGui.h
|
2010-05-14 02:37:33 -05:00
|
|
|
unicorn/OpenCellDialog.h
|
|
|
|
unicorn/SaveCellDialog.h
|
2010-03-09 09:26:22 -06:00
|
|
|
)
|
2010-05-14 02:37:33 -05:00
|
|
|
set ( cpps OpenCellDialog.cpp
|
|
|
|
SaveCellDialog.cpp
|
2010-03-09 09:26:22 -06:00
|
|
|
UnicornGui.cpp
|
|
|
|
)
|
|
|
|
set ( cgtcpp CgtMain.cpp )
|
|
|
|
|
|
|
|
qt4_wrap_cpp ( MOCcpps ${mocincludes} )
|
|
|
|
qt4_add_resources ( RCC_SRCS Unicorn.qrc )
|
|
|
|
|
2010-05-14 02:37:33 -05:00
|
|
|
add_library ( unicorn ${cpps} ${MOCcpps} )
|
|
|
|
target_link_libraries ( unicorn ${SOLSTICE_GRAPHICAL_LIBRARIES}
|
|
|
|
${SOLSTICE_LIBRARIES}
|
|
|
|
${EQUINOX_GRAPHICAL_LIBRARIES}
|
|
|
|
${EQUINOX_LIBRARIES}
|
|
|
|
${KITE_GRAPHICAL_LIBRARIES}
|
|
|
|
${KITE_LIBRARIES}
|
|
|
|
${KATABATIC_GRAPHICAL_LIBRARIES}
|
|
|
|
${KATABATIC_LIBRARIES}
|
|
|
|
${KNIK_GRAPHICAL_LIBRARIES}
|
|
|
|
${KNIK_LIBRARIES}
|
|
|
|
${CORIOLIS_LIBRARIES}
|
|
|
|
${HURRICANE_GRAPHICAL_LIBRARIES}
|
|
|
|
${HURRICANE_LIBRARIES}
|
|
|
|
${AGDS_LIBRARY}
|
|
|
|
${CIF_LIBRARY}
|
|
|
|
${LEFDEF_LIBRARIES}
|
|
|
|
${OA_LIBRARIES}
|
|
|
|
${QT_LIBRARIES}
|
|
|
|
${Boost_LIBRARIES}
|
2010-03-09 09:26:22 -06:00
|
|
|
)
|
2010-05-14 02:37:33 -05:00
|
|
|
add_executable ( cgt ${cgtcpp} )
|
|
|
|
target_link_libraries ( cgt unicorn
|
|
|
|
${SOLSTICE_GRAPHICAL_LIBRARIES}
|
|
|
|
${SOLSTICE_LIBRARIES}
|
|
|
|
${EQUINOX_GRAPHICAL_LIBRARIES}
|
|
|
|
${EQUINOX_LIBRARIES}
|
|
|
|
${KITE_GRAPHICAL_LIBRARIES}
|
|
|
|
${KITE_LIBRARIES}
|
|
|
|
${KATABATIC_GRAPHICAL_LIBRARIES}
|
|
|
|
${KATABATIC_LIBRARIES}
|
|
|
|
${KNIK_GRAPHICAL_LIBRARIES}
|
|
|
|
${KNIK_LIBRARIES}
|
|
|
|
${CORIOLIS_LIBRARIES}
|
|
|
|
${HURRICANE_LIBRARIES}
|
|
|
|
${HURRICANE_GRAPHICAL_LIBRARIES}
|
|
|
|
${OA_LIBRARIES}
|
|
|
|
${QT_LIBRARIES}
|
|
|
|
${Boost_LIBRARIES}
|
2010-03-09 09:26:22 -06:00
|
|
|
)
|
2010-05-17 16:19:20 -05:00
|
|
|
install ( TARGETS unicorn DESTINATION lib${LIB_SUFFIX} )
|
2010-05-16 11:34:20 -05:00
|
|
|
install ( TARGETS cgt DESTINATION bin )
|
2010-05-14 02:37:33 -05:00
|
|
|
install ( FILES ${includes}
|
2010-05-16 11:34:20 -05:00
|
|
|
${mocIncludes} DESTINATION include/coriolis/unicorn )
|
2010-03-09 09:26:22 -06:00
|
|
|
|