~unity-api-team/storage-framework/vivid

« back to all changes in this revision

Viewing changes to CMakeLists.txt

  • Committer: Michi Henning
  • Date: 2016-05-23 02:27:16 UTC
  • mto: (8.12.2 add-etag)
  • mto: This revision was merged to the branch mainline in revision 9.
  • Revision ID: michi.henning@canonical.com-20160523022716-jpaudmuan8vxxgch
More fleshing out of the local client implementation.

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
set(CMAKE_INCLUDE_CURRENT_DIR ON)
21
21
 
22
22
include_directories(include)
 
23
include_directories(${CMAKE_BINARY_DIR}/include)  # For generated headers
23
24
 
24
25
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} --std=c++11 -Wall -pedantic -Wextra -fvisibility=hidden")
25
26
 
85
86
include(EnableCoverageReport)
86
87
 
87
88
find_package(Boost COMPONENTS filesystem thread REQUIRED)
 
89
find_package(Qt5Concurrent REQUIRED)
88
90
find_package(Qt5Core REQUIRED)
89
91
find_package(Qt5DBus REQUIRED)
90
92
find_package(Qt5Network REQUIRED)
95
97
 
96
98
add_definitions(-DQT_NO_KEYWORDS)
97
99
 
 
100
add_subdirectory(include)
98
101
add_subdirectory(src)
99
102
add_subdirectory(tests)
100
103
add_subdirectory(demo)