Build with -DQT_NO_STL.

This commit is contained in:
Felix Geyer 2010-09-24 00:30:25 +02:00
parent 76da30adda
commit 7c83033899

View File

@ -24,7 +24,7 @@ option(WITH_TESTS "Enable building of unit tests" ON)
set( KEEPASSX_VERSION "0.9.0" ) set( KEEPASSX_VERSION "0.9.0" )
if(CMAKE_COMPILER_IS_GNUCXX) if(CMAKE_COMPILER_IS_GNUCXX)
add_definitions(-DQT_NO_KEYWORDS -DQT_NO_EXCEPTIONS -fno-exceptions -fno-rtti add_definitions(-DQT_NO_KEYWORDS -DQT_NO_EXCEPTIONS -DQT_NO_STL -fno-exceptions -fno-rtti
-ansi -Wall -Wextra -Wundef -Wold-style-cast -Wnon-virtual-dtor -Wcast-align -ansi -Wall -Wextra -Wundef -Wold-style-cast -Wnon-virtual-dtor -Wcast-align
-Wpointer-arith -Wformat-security -Woverloaded-virtual -Wno-long-long) -Wpointer-arith -Wformat-security -Woverloaded-virtual -Wno-long-long)