From f5cedcdece669f1ceff98e232b36566a015416f4 Mon Sep 17 00:00:00 2001 From: Jean-Paul Chaput Date: Wed, 2 Feb 2011 22:48:30 +0000 Subject: [PATCH] * /CMakeLists.txt: - Change: Added versioning to library. --- vlsisapd/src/agds/src/CMakeLists.txt | 1 + vlsisapd/src/bookshelf/src/CMakeLists.txt | 1 + vlsisapd/src/cif/src/CMakeLists.txt | 1 + vlsisapd/src/configuration/src/CMakeLists.txt | 1 + vlsisapd/src/dtr/src/CMakeLists.txt | 1 + vlsisapd/src/liberty/src/CMakeLists.txt | 3 ++- vlsisapd/src/openChams/src/CMakeLists.txt | 1 + 7 files changed, 8 insertions(+), 1 deletion(-) diff --git a/vlsisapd/src/agds/src/CMakeLists.txt b/vlsisapd/src/agds/src/CMakeLists.txt index 35c22a82..b2157df8 100644 --- a/vlsisapd/src/agds/src/CMakeLists.txt +++ b/vlsisapd/src/agds/src/CMakeLists.txt @@ -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) diff --git a/vlsisapd/src/bookshelf/src/CMakeLists.txt b/vlsisapd/src/bookshelf/src/CMakeLists.txt index 9f4659cf..eb8ea1ac 100644 --- a/vlsisapd/src/bookshelf/src/CMakeLists.txt +++ b/vlsisapd/src/bookshelf/src/CMakeLists.txt @@ -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} ) diff --git a/vlsisapd/src/cif/src/CMakeLists.txt b/vlsisapd/src/cif/src/CMakeLists.txt index f8fa9d19..be8ed307 100644 --- a/vlsisapd/src/cif/src/CMakeLists.txt +++ b/vlsisapd/src/cif/src/CMakeLists.txt @@ -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) diff --git a/vlsisapd/src/configuration/src/CMakeLists.txt b/vlsisapd/src/configuration/src/CMakeLists.txt index d33e8ef1..7846b53c 100644 --- a/vlsisapd/src/configuration/src/CMakeLists.txt +++ b/vlsisapd/src/configuration/src/CMakeLists.txt @@ -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} diff --git a/vlsisapd/src/dtr/src/CMakeLists.txt b/vlsisapd/src/dtr/src/CMakeLists.txt index 764308ec..08d16e5d 100644 --- a/vlsisapd/src/dtr/src/CMakeLists.txt +++ b/vlsisapd/src/dtr/src/CMakeLists.txt @@ -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) diff --git a/vlsisapd/src/liberty/src/CMakeLists.txt b/vlsisapd/src/liberty/src/CMakeLists.txt index 0cc6cefe..f1eb13fe 100644 --- a/vlsisapd/src/liberty/src/CMakeLists.txt +++ b/vlsisapd/src/liberty/src/CMakeLists.txt @@ -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} ) diff --git a/vlsisapd/src/openChams/src/CMakeLists.txt b/vlsisapd/src/openChams/src/CMakeLists.txt index 0bba11a1..899b7bb2 100644 --- a/vlsisapd/src/openChams/src/CMakeLists.txt +++ b/vlsisapd/src/openChams/src/CMakeLists.txt @@ -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)