[Kst] branches/work/kst/portto4/kst

Adam Treat treat at kde.org
Fri Feb 16 20:12:12 CET 2007


SVN commit 634272 by treat:

* Define correct versioning in top-level cmake file


 M  +4 -0      CMakeLists.txt  
 M  +2 -0      config.h.cmake  
 M  +1 -3      src/libkst/CMakeLists.txt  


--- branches/work/kst/portto4/kst/CMakeLists.txt #634271:634272
@@ -1,4 +1,8 @@
 project(kst)
+
+set(KST_VERSION "1.9.0_devel")
+set(KST_LIBKST_VERSION 1.9.0)
+
 find_package(KDE4 REQUIRED)
 
 include(KDE4Defaults)
--- branches/work/kst/portto4/kst/config.h.cmake #634271:634272
@@ -3,6 +3,8 @@
 
 /* config.h.  Generated by cmake from config.h.cmake */
 
+#define KSTVERSION "${KST_VERSION}"
+
 /* Define if you have unsetenv */
 #cmakedefine HAVE_UNSETENV 1
 
--- branches/work/kst/portto4/kst/src/libkst/CMakeLists.txt #634271:634272
@@ -1,5 +1,3 @@
-find_package(KDE4 REQUIRED)
-
 find_package(Subversion)
 if(Subversion_FOUND)
   Subversion_WC_INFO(${CMAKE_CURRENT_SOURCE_DIR} libkst)
@@ -49,7 +47,7 @@
 # target_link_libraries(kst  ${KDE4_KIO_LIBS} kstextdate )
 target_link_libraries(kst  ${KDE4_KIO_LIBS} )
 
-set_target_properties(kst PROPERTIES VERSION 1.0.0 SOVERSION 1 )
+set_target_properties(kst PROPERTIES VERSION ${KST_LIBKST_VERSION} SOVERSION 1 )
 install(TARGETS kst DESTINATION ${LIB_INSTALL_DIR} )
 
 


More information about the Kst mailing list