Branch 'libkolab-0.4' - autogen.sh CMakeLists.txt
Christian Mollekopf
mollekopf at kolabsys.com
Fri Feb 15 21:23:58 CET 2013
CMakeLists.txt | 1 +
autogen.sh | 1 +
2 files changed, 2 insertions(+)
New commits:
commit bf282325e7beb69839c833ee2864301cf5566455
Author: Christian Mollekopf <mollekopf at kolabsys.com>
Date: Fri Feb 15 21:23:34 2013 +0100
No asserts during release builds.
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 69b4532..ae03027 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -74,6 +74,7 @@ endif()
set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wnon-virtual-dtor -Wno-long-long -ansi -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-exceptions -DQT_NO_EXCEPTIONS -fno-check-new -fno-common -Woverloaded-virtual -fno-threadsafe-statics -fvisibility=hidden -Werror=return-type -fvisibility-inlines-hidden -fexceptions -UQT_NO_EXCEPTIONS -fPIC -g" )
# message("${CMAKE_CXX_FLAGS}")
+set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -DQT_NO_DEBUG")
if (USE_LIBCALENDARING)
set( KDE_INCLUDES ${Libcalendaring_INCLUDE_DIRS} )
diff --git a/autogen.sh b/autogen.sh
index 06308cc..cd8ea88 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -63,6 +63,7 @@ if [ ${doprep} -eq 1 ]; then
-DPHP_BINDINGS=ON \
-DPHP_INSTALL_DIR=/usr/lib64/php/modules \
-DPYTHON_BINDINGS=ON \
+ -DCMAKE_BUILD_TYPE=Release \
..
fi
More information about the commits
mailing list