Add library version to flute.

This commit is contained in:
Jean-Paul Chaput 2011-02-04 11:10:02 +00:00
parent c51426c245
commit 39cd99cbf8
1 changed files with 28 additions and 27 deletions

View File

@ -42,30 +42,31 @@
qt4_wrap_cpp ( mocCpps ${mocIncludes} ) qt4_wrap_cpp ( mocCpps ${mocIncludes} )
add_library ( flute ${fluteCpps} ) add_library ( flute ${fluteCpps} )
target_link_libraries ( flute ${HURRICANE_LIBRARIES} set_target_properties ( flute PROPERTIES VERSION 2.4 SOVERSION 2 )
${CORIOLIS_LIBRARIES} target_link_libraries ( flute ${HURRICANE_LIBRARIES}
) ${CORIOLIS_LIBRARIES}
add_library ( knik ${cpps} ${mocCpps} ) )
set_target_properties ( knik PROPERTIES VERSION 1.0 SOVERSION 1 ) add_library ( knik ${cpps} ${mocCpps} )
target_link_libraries ( knik flute set_target_properties ( knik PROPERTIES VERSION 1.0 SOVERSION 1 )
${HURRICANE_PYTHON_LIBRARIES} target_link_libraries ( knik flute
${HURRICANE_GRAPHICAL_LIBRARIES} ${HURRICANE_PYTHON_LIBRARIES}
${HURRICANE_LIBRARIES} ${HURRICANE_GRAPHICAL_LIBRARIES}
${CONFIGURATION_LIBRARY} ${HURRICANE_LIBRARIES}
${CIF_LIBRARY} ${CONFIGURATION_LIBRARY}
${AGDS_LIBRARY} ${CIF_LIBRARY}
${LEFDEF_LIBRARIES} ${AGDS_LIBRARY}
${OA_LIBRARIES} ${LEFDEF_LIBRARIES}
${QT_LIBRARIES} ${OA_LIBRARIES}
${Boost_LIBRARIES} ${QT_LIBRARIES}
${LIBXML2_LIBRARIES} ${Boost_LIBRARIES}
${PYTHON_LIBRARIES} -lutil ${LIBXML2_LIBRARIES}
) ${PYTHON_LIBRARIES} -lutil
)
install ( TARGETS knik flute DESTINATION lib${LIB_SUFFIX} )
install ( FILES ${includes} install ( TARGETS knik flute DESTINATION lib${LIB_SUFFIX} )
${mocIncludes} install ( FILES ${includes}
${fluteIncludes} DESTINATION include/coriolis2/knik ) ${mocIncludes}
install ( FILES flute-2.4/etc/POST9.dat ${fluteIncludes} DESTINATION include/coriolis2/knik )
flute-2.4/etc/POWV9.dat DESTINATION share/coriolis2/flute-2.4 ) install ( FILES flute-2.4/etc/POST9.dat
flute-2.4/etc/POWV9.dat DESTINATION share/coriolis2/flute-2.4 )