aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2014-01-27 01:24:20 -0600
committerCharles Kerr <charles.kerr@canonical.com>2014-01-27 01:24:20 -0600
commitc1ffb9cd6082acb7aa7e820a7ed852adc7ae648d (patch)
tree9789615ca80de11f37e3e69e04ab833c56dd606d /src
parent7b09a0ff5652bdca7c8d8e046d2af6a696f94147 (diff)
downloadayatana-indicator-datetime-c1ffb9cd6082acb7aa7e820a7ed852adc7ae648d.tar.gz
ayatana-indicator-datetime-c1ffb9cd6082acb7aa7e820a7ed852adc7ae648d.tar.bz2
ayatana-indicator-datetime-c1ffb9cd6082acb7aa7e820a7ed852adc7ae648d.zip
re-enable coverage-html reports
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index a90fcbf..b8c62fd 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -1,7 +1,7 @@
set (SERVICE_LIB "indicatordatetimeservice")
set (SERVICE_EXEC "indicator-datetime-service")
-SET (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -g ${CXX_WARNING_ARGS}")
+SET (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -g ${CXX_WARNING_ARGS} ${GCOV_FLAGS}")
add_definitions (-DTIMEZONE_FILE="/etc/timezone"
-DG_LOG_DOMAIN="Indicator-Datetime")
@@ -33,14 +33,7 @@ add_library (${SERVICE_LIB} STATIC
include_directories (${CMAKE_SOURCE_DIR})
link_directories (${SERVICE_DEPS_LIBRARY_DIRS})
-
add_executable (${SERVICE_EXEC} main.cpp)
target_link_libraries (${SERVICE_EXEC} ${SERVICE_LIB} ${SERVICE_DEPS_LIBRARIES} ${GCOV_LIBS})
install (TARGETS ${SERVICE_EXEC} RUNTIME DESTINATION ${CMAKE_INSTALL_FULL_PKGLIBEXECDIR})
-# common properties
-#set_property (TARGET ${SERVICE_LIB} ${SERVICE_EXEC}
-# APPEND_STRING PROPERTY COMPILE_FLAGS
-# " -g ${CC_WARNING_ARGS} ${GCOV_FLAGS}")
-
-