* cmake/CMakeLists.txt: added VERSION_PATCH to be able to distinguish win32 binary...
authorRalf Habacker <ralf.habacker@freenet.de>
Thu, 21 Jun 2007 15:08:50 +0000 (15:08 +0000)
committerRalf Habacker <ralf.habacker@freenet.de>
Thu, 21 Jun 2007 15:08:50 +0000 (15:08 +0000)
ChangeLog
cmake/CMakeLists.txt

index d16f698..9efb0ac 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2007-06-21 Ralf Habacker  <ralf.habacker@freenet.de>
 
+       * cmake/CMakeLists.txt: added VERSION_PATCH to be able to 
+       distinguish win32 binary release from dbus versioning
+
+2007-06-21 Ralf Habacker  <ralf.habacker@freenet.de>
+
        * dbus/dbus-sysdeps-win.c: deleted local DBusCredentials structure
            (_dbus_getsid): new function
            (_dbus_read_credentials_socket): used correct function
index 776c6ab..5482c5d 100644 (file)
@@ -1,8 +1,16 @@
 set (PACKAGE dbus)
+
+# the version major, minor and release number should be synchron to the dbus cvs - windows releases should only update the patch level
 set (VERSION_MAJOR "1")
 set (VERSION_MINOR "1")
-set (VERSION_PATCH "0")
-set (VERSION ${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH} )
+set (VERSION_RELEASE "1")
+set (VERSION_PATCH "2")
+if (VERSION_PATCH)
+    set (VERSION "${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_RELEASE}-${VERSION_PATCH}" )
+else (VERSION_PATCH)
+    set (VERSION "${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_RELEASE}" )
+endif (VERSION_PATCH)
+
 project(${PACKAGE})
 
 # we need to be up to date
@@ -85,8 +93,8 @@ endif(MSVC)
 
 if(CMAKE_BUILD_TYPE STREQUAL "Debug")
    # used by executables, CMAKE_DEBUG_POSTFIX does not handle this case
-   set (CMAKE_EXE_POSTFIX "d")
-   set (CMAKE_DEBUG_POSTFIX "d")
+   #set (CMAKE_EXE_POSTFIX "d")
+   #set (CMAKE_DEBUG_POSTFIX "d")
 endif(CMAKE_BUILD_TYPE STREQUAL "Debug")
 
 #########################################################################