~charlesk/indicator-datetime/lp-1424966-fix-ecanceled-errno-rtm-14.09

« back to all changes in this revision

Viewing changes to src/CMakeLists.txt

  • Committer: Charles Kerr
  • Date: 2014-01-27 07:24:20 UTC
  • mto: This revision was merged to the branch mainline in revision 298.
  • Revision ID: charles.kerr@canonical.com-20140127072420-ygwbt9lwhm7rzy3u
re-enable coverage-html reports

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
set (SERVICE_LIB "indicatordatetimeservice")
2
2
set (SERVICE_EXEC "indicator-datetime-service")
3
3
 
4
 
SET (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -g ${CXX_WARNING_ARGS}")
 
4
SET (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -g ${CXX_WARNING_ARGS} ${GCOV_FLAGS}")
5
5
 
6
6
add_definitions (-DTIMEZONE_FILE="/etc/timezone"
7
7
                 -DG_LOG_DOMAIN="Indicator-Datetime")
33
33
include_directories (${CMAKE_SOURCE_DIR})
34
34
link_directories (${SERVICE_DEPS_LIBRARY_DIRS})
35
35
 
36
 
 
37
36
add_executable (${SERVICE_EXEC} main.cpp)
38
37
target_link_libraries (${SERVICE_EXEC} ${SERVICE_LIB} ${SERVICE_DEPS_LIBRARIES} ${GCOV_LIBS})
39
38
install (TARGETS ${SERVICE_EXEC} RUNTIME DESTINATION ${CMAKE_INSTALL_FULL_PKGLIBEXECDIR})
40
39
 
41
 
# common properties
42
 
#set_property (TARGET ${SERVICE_LIB} ${SERVICE_EXEC}
43
 
#              APPEND_STRING PROPERTY COMPILE_FLAGS
44
 
#              " -g ${CC_WARNING_ARGS} ${GCOV_FLAGS}")
45
 
 
46