Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Goetz <markus@woboq.com>2017-01-13 18:24:18 +0300
committerMarkus Goetz <markus@woboq.com>2017-01-17 16:52:10 +0300
commit85d3de15898385a06b2f34479e875c885e5df6be (patch)
tree0fa68c77d17a77c842c6339ca07718d1f929cced /test/CMakeLists.txt
parent588a88fb63f1a4265d180c3dabf668aeee6cf1d8 (diff)
Disable RTTI
Shrinks owncloud binary by 24 KB and libowncloudsync by 14 KB. I don't know if it has influence on memory usage or runtime speed though. Was worth a try.
Diffstat (limited to 'test/CMakeLists.txt')
-rw-r--r--test/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
index 3732deaa1..cfad8e61e 100644
--- a/test/CMakeLists.txt
+++ b/test/CMakeLists.txt
@@ -2,6 +2,7 @@ include_directories(${CMAKE_BINARY_DIR}/csync ${CMAKE_BINARY_DIR}/csync/src ${CM
include_directories(${CMAKE_SOURCE_DIR}/csync/src/)
include_directories(${CMAKE_SOURCE_DIR}/csync/src/std ${CMAKE_SOURCE_DIR}/src)
include_directories(${CMAKE_SOURCE_DIR}/src/3rdparty/qtokenizer)
+set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-rtti")
include(QtVersionAbstraction)
setup_qt()