dbus/cmake CMakeLists.txt,1.5,1.6
Ralf Habacker
rhabacker at kemper.freedesktop.org
Thu Apr 26 02:30:40 PDT 2007
Update of /cvs/dbus/dbus/cmake
In directory kemper:/tmp/cvs-serv31939/cmake
Modified Files:
CMakeLists.txt
Log Message:
* cmake: added debug postfixes to debug exe's for easier debugging.
* dbus\dbus-sysdeps-win.c (_dbus_win_set_error_from_win_error): print error code in case no string message is available.
Index: CMakeLists.txt
===================================================================
RCS file: /cvs/dbus/dbus/cmake/CMakeLists.txt,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- CMakeLists.txt 15 Mar 2007 12:10:06 -0000 1.5
+++ CMakeLists.txt 26 Apr 2007 09:30:38 -0000 1.6
@@ -1,6 +1,6 @@
set (PACKAGE dbus)
set (VERSION_MAJOR "1")
-set (VERSION_MINOR "0")
+set (VERSION_MINOR "1")
set (VERSION_PATCH "0")
set (VERSION ${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH} )
project(${PACKAGE})
@@ -75,6 +75,11 @@
SET(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} /FIconfig.h ${MSVC_W_ERROR} ${MSVC_W_DISABLE}")
endif(MSVC)
+if(CMAKE_BUILD_TYPE STREQUAL "Debug")
+ # dll postfix is set to 'd' by default
+ set (CMAKE_EXE_POSTFIX "d")
+endif(CMAKE_BUILD_TYPE STREQUAL "Debug")
+
#########################################################################
# Windows CE
More information about the dbus-commit
mailing list