[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdesupport/akonadi
From: Igor Trindade Oliveira <igor_trindade () yahoo ! com ! br>
Date: 2009-03-05 14:44:38
Message-ID: 1236264278.507968.29981.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 935544 by igorto:
support gcov compiling
M +3 -0 CMakeLists.txt
--- trunk/kdesupport/akonadi/CMakeLists.txt #935543:935544
@@ -102,6 +102,9 @@
set (_ENABLE_EXCEPTIONS -fexceptions)
set ( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-long-long -std=iso9899:1990 \
-Wundef -Wcast-align -Werror-implicit-function-declaration -Wchar-subscripts -Wall -W \
-Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute \
-fno-common") 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-check-new -fno-common") + if(CMAKE_COMPILE_GCOV)
+ set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fprofile-arcs -ftest-coverage")
+ endif(CMAKE_COMPILE_GCOV)
else (CMAKE_COMPILER_IS_GNUCXX OR CMAKE_C_COMPILER MATCHES "icc")
if (MSVC)
set (_ENABLE_EXCEPTIONS -EHsc)
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic