* <All Tools>/CMakeLists.txt:

- Change: Added versioning to library.
This commit is contained in:
Jean-Paul Chaput 2011-02-02 22:48:30 +00:00
parent d98f912827
commit f5cedcdece
7 changed files with 8 additions and 1 deletions

View File

@ -13,6 +13,7 @@ SET ( pycpps PyAgds.cpp
)
ADD_LIBRARY(agds ${cpps})
SET_TARGET_PROPERTIES(agds PROPERTIES VERSION 1.0 SOVERSION 1)
INSTALL(TARGETS agds DESTINATION lib${LIB_SUFFIX})
INSTALL(FILES ${hpps} DESTINATION include/vlsisapd/agds)

View File

@ -23,6 +23,7 @@
set ( testcpps BookshelfTkMain.cpp )
add_library ( bookshelf ${cpps} )
target_link_libraries ( bookshelf ${Boost_LIBRARIES} )
set_target_properties ( bookshelf PROPERTIES VERSION 1.0 SOVERSION 1 )
add_executable ( bookshelf-tk ${testcpps} )
target_link_libraries ( bookshelf-tk bookshelf ${Boost_LIBRARIES} ${PYTHON_LIBRARIES} )

View File

@ -10,6 +10,7 @@ SET ( pycpps PyCif.cpp
)
ADD_LIBRARY(cif ${cpps})
SET_TARGET_PROPERTIES(cif PROPERTIES VERSION 1.0 SOVERSION 1)
INSTALL(TARGETS cif DESTINATION lib${LIB_SUFFIX})
INSTALL(FILES ${hpps} DESTINATION include/vlsisapd/cif)

View File

@ -35,6 +35,7 @@
qt4_add_resources ( RCC_SRCS Configuration.qrc )
add_library ( configuration ${cpps} ${mocCpps} ${RCC_SRCS} )
set_target_properties ( configuration PROPERTIES VERSION 1.0 SOVERSION 1 )
target_link_libraries ( configuration ${QT_LIBRARIES}
${PYTHON_LIBRARIES}
${LIBXML2_LIBRARIES}

View File

@ -15,6 +15,7 @@ SET ( pycpps PyDtr.cpp
ADD_LIBRARY(dtr ${cpps})
TARGET_LINK_LIBRARIES(dtr ${LIBXML2_LIBRARIES})
SET_TARGET_PROPERTIES(dtr PROPERTIES VERSION 1.0 SOVERSION 1)
INSTALL(TARGETS dtr DESTINATION lib${LIB_SUFFIX})
IF (Boost_FOUND)

View File

@ -56,7 +56,8 @@ set_source_files_properties ( ${LibertyParserGrammarCpp} GENERATED )
add_library ( liberty ${cpps}
${liberty_parser_cpps}
)
target_link_libraries ( liberty ${Boost_LIBRARIES}
set_target_properties ( liberty PROPERTIES VERSION 1.0 SOVERSION 1)
target_link_libraries ( liberty ${Boost_LIBRARIES}
)
install ( TARGETS liberty DESTINATION lib${LIB_SUFFIX} )

View File

@ -34,6 +34,7 @@ SET ( pycpps PyOpenChams.cpp
ADD_LIBRARY(openChams ${cpps})
TARGET_LINK_LIBRARIES(openChams ${LIBXML2_LIBRARIES})
SET_TARGET_PROPERTIES(openChams PROPERTIES VERSION 1.0 SOVERSION 1)
INSTALL(TARGETS openChams DESTINATION lib${LIB_SUFFIX} )
IF(Boost_FOUND)