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

List:       kde-commits
Subject:    KDE/kdebase/workspace/powerdevil/daemon
From:       Dario Freddi <drf () kde ! org>
Date:       2010-11-28 12:40:37
Message-ID: 20101128124037.4BBA0AC8A3 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1201710 by dafre:

CCMAIL: jriddell@ubuntu.com

Make powerdevilcore versioned

 M  +6 -0      CMakeLists.txt  


--- trunk/KDE/kdebase/workspace/powerdevil/daemon/CMakeLists.txt #1201709:1201710
@@ -3,6 +3,11 @@
 
 add_subdirectory(actions)
 
+set(POWERDEVIL_CORE_VERSION_MAJOR 0)
+set(POWERDEVIL_CORE_VERSION_MINOR 1)
+set(POWERDEVIL_CORE_VERSION_MICRO 0)
+set(POWERDEVIL_CORE_VERSION_STRING \
${POWERDEVIL_CORE_VERSION_MAJOR}.${POWERDEVIL_CORE_VERSION_MINOR}.${POWERDEVIL_CORE_VERSION_MICRO})
 +
 # Add bundled actions
 set(powerdevil_bundled_actions_SRCS
     actions/bundled/suspendsession.cpp
@@ -42,6 +47,7 @@
 qt4_add_dbus_adaptor(powerdevilcore_SRCS \
${KDE4_DBUS_INTERFACES_DIR}/org.freedesktop.PowerManagement.Inhibit.xml \
powerdevilfdoconnector.h PowerDevil::FdoConnector powermanagementinhibitadaptor \
PowerManagementInhibitAdaptor)  
 kde4_add_library(powerdevilcore SHARED ${powerdevilcore_SRCS} \
${powerdevil_bundled_actions_SRCS} ${POWERDEVIL_BACKEND_SRCS}) \
+set_target_properties(powerdevilcore PROPERTIES VERSION \
${POWERDEVIL_CORE_VERSION_STRING} SOVERSION ${POWERDEVIL_CORE_VERSION_MAJOR})  
 target_link_libraries(powerdevilcore
     ${KDE4_KDECORE_LIBS}


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

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