~michihenning/persistent-cache-cpp/merge-devel

« back to all changes in this revision

Viewing changes to CMakeLists.txt

  • Committer: Michi Henning
  • Date: 2015-07-24 02:25:49 UTC
  • Revision ID: michi.henning@canonical.com-20150724022549-a27w2y5le6dg89u2
Added pkgconfig support.

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
 
12
12
set(LIBNAME persistent-cache-cpp)
13
13
 
 
14
set(VERSION_MAJOR 1)
 
15
set(VERSION_MINOR 0)
 
16
set(VERSION_MICRO 0)
 
17
set(LIBVERSION "${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_MICRO}")
 
18
 
14
19
string(TOLOWER "${CMAKE_BUILD_TYPE}" cmake_build_type_lower) # Build types should always be lower case
15
20
 
16
21
set(ACCEPTED_BUILD_TYPES "" none release debug relwithdebinfo coverage)
87
92
add_subdirectory(src)
88
93
add_subdirectory(include)
89
94
add_subdirectory(tests)
 
95
add_subdirectory(data)
90
96
 
91
97
enable_coverage_report(
92
98
    TARGETS