[dss-commits] r8749 - in dss/trunk: . core unix webservices

dss-commits at forum.digitalstrom.org dss-commits at forum.digitalstrom.org
Tue Sep 8 17:57:11 CEST 2009


Author: pstaehlin
Date: 2009-09-08 17:57:11 +0200 (Tue, 08 Sep 2009)
New Revision: 8749

Modified:
   dss/trunk/CMakeLists.txt
   dss/trunk/core/CMakeLists.txt
   dss/trunk/unix/CMakeLists.txt
   dss/trunk/webservices/CMakeLists.txt
Log:
Fixed compilation of tests


Modified: dss/trunk/CMakeLists.txt
===================================================================
--- dss/trunk/CMakeLists.txt	2009-09-08 15:01:45 UTC (rev 8748)
+++ dss/trunk/CMakeLists.txt	2009-09-08 15:57:11 UTC (rev 8749)
@@ -45,7 +45,6 @@
   #  SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wold-style-cast")
   #ENDIF(HAVE_WOLD_STYLE_CAST)
   IF(WITH_GCOV)
-    ADD_DEFINITIONS(-fprofile-arcs -ftest-coverage)
     SET(REQUIRED_LIBS ${REQUIRED_LIBS} gcov)
   ENDIF(WITH_GCOV)
 ENDIF(${CMAKE_SYSTEM_NAME} MATCHES "Linux")

Modified: dss/trunk/core/CMakeLists.txt
===================================================================
--- dss/trunk/core/CMakeLists.txt	2009-09-08 15:01:45 UTC (rev 8748)
+++ dss/trunk/core/CMakeLists.txt	2009-09-08 15:57:11 UTC (rev 8749)
@@ -1,3 +1,8 @@
+IF(WITH_GCOV)
+  ADD_DEFINITIONS(-fprofile-arcs -ftest-coverage)
+ENDIF(WITH_GCOV)
+
+
 file(GLOB files *.cpp)
 
 add_library(core ${files} scripting/modeljs.cpp sim/dssim.cpp sim/dsidsim.cpp

Modified: dss/trunk/unix/CMakeLists.txt
===================================================================
--- dss/trunk/unix/CMakeLists.txt	2009-09-08 15:01:45 UTC (rev 8748)
+++ dss/trunk/unix/CMakeLists.txt	2009-09-08 15:57:11 UTC (rev 8749)
@@ -1,4 +1,8 @@
+IF(WITH_GCOV)
+  ADD_DEFINITIONS(-fprofile-arcs -ftest-coverage)
+ENDIF(WITH_GCOV)
+
+
 file(GLOB files *.cpp)
 
-
 add_library(unix ${files})

Modified: dss/trunk/webservices/CMakeLists.txt
===================================================================
--- dss/trunk/webservices/CMakeLists.txt	2009-09-08 15:01:45 UTC (rev 8748)
+++ dss/trunk/webservices/CMakeLists.txt	2009-09-08 15:57:11 UTC (rev 8749)
@@ -1,3 +1,7 @@
+IF(WITH_GCOV)
+  ADD_DEFINITIONS(-fprofile-arcs -ftest-coverage)
+ENDIF(WITH_GCOV)
+
 file(GLOB files *.cpp)
 
 add_library(webservices ${files})



More information about the dss-commits mailing list