[prev in list] [next in list] [prev in thread] [next in thread] 

List:       koffice-devel
Subject:    Shared versions of shared libraries
From:       Jarosław_Staniek <js () iidea ! pl>
Date:       2006-06-01 22:38:36
Message-ID: 447F6C6C.8090106 () iidea ! pl
[Download RAW message or body]


Hello,
While commiting the change below, I realized it's boring to remember about 
doing version++ of the libraries.

--- trunk/koffice/libs/koproperty/CMakeLists.txt #547384:547385
@@ -46,7 +46,7 @@

  target_link_libraries(koproperty ${KDE4_KDECORE_LIBS} ${KDE4_KDEUI_LIBS} 
${KDE4_KIO_LIBS} )

-set_target_properties(koproperty PROPERTIES VERSION 1.0.0 SOVERSION 1 )
+set_target_properties(koproperty PROPERTIES VERSION 3.0.0 SOVERSION 3 )
  install_targets(${LIB_INSTALL_DIR} koproperty )

--------

We talked a bit about the issue, but since now we distribute the kofficelibs 
with all koffice apps, what about sharing the version number and doing ++ on 
every release?

Maybe variables can help? :

set_target_properties(
   koproperty PROPERTIES VERSION ${KOLIBS_VER} SOVERSION ${KOLIBS_VER_MAJOR} )

Or is there a cmake magical declaration for sharing version # that is even 
more automatic?

-- 
regards / pozdrawiam,
  Jaroslaw Staniek / OpenOffice Polska

Sponsored by OpenOffice Polska to work on
* Kexi & KOffice: http://www.kexi-project.org | http://koffice.org/kexi
* KDE3 & KDE4 Libraries For Developing MS Windows Applications:
                   http://www.kdelibs.com/wiki
See also:
* Kexi For MS Windows: http://kexi.pl/wiki/index.php/Kexi_for_MS_Windows
* Kexi Support:        http://www.kexi-project.org/support.html

_______________________________________________
koffice-devel mailing list
koffice-devel@kde.org
https://mail.kde.org/mailman/listinfo/koffice-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic