~fourdollars/indicator-power/test

« back to all changes in this revision

Viewing changes to CMakeLists.txt

  • Committer: Charles Kerr
  • Date: 2014-07-21 21:08:29 UTC
  • mto: This revision was merged to the branch mainline in revision 252.
  • Revision ID: charles.kerr@canonical.com-20140721210829-yyombtwd1heydidq
add tests to confirm that the DBus object's PowerLevel property changes at the right times (and only at the right times) when the battery is draining

Show diffs side-by-side

added added

removed removed

Lines of Context:
63
63
##
64
64
 
65
65
if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
66
 
  set(C_WARNING_ARGS "${C_WARNING_ARGS} -Weverything -Wno-c++98-compat")
 
66
  set(C_WARNING_ARGS "${C_WARNING_ARGS} -Weverything")
 
67
  set(C_WARNING_ARGS "${C_WARNING_ARGS} -Wno-c++98-compat -Wno-padded") # these are annoying
67
68
  set(C_WARNING_ARGS "${C_WARNING_ARGS} -Wno-documentation") # gtk-doc != doxygen
68
69
else()
69
70
  set(C_WARNING_ARGS "${C_WARNING_ARGS} -Wall -Wextra -Wpedantic -Wformat=2")