POI: AGL LifeCycle Management
[apps/agl-service-windowmanager.git] / CMakeLists.txt
1 #
2 # Copyright (c) 2017 TOYOTA MOTOR CORPORATION
3 #
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
7 #
8 #      http://www.apache.org/licenses/LICENSE-2.0
9 #
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
15 #
16
17 cmake_minimum_required(VERSION 2.8)
18
19 project(WindowManagerTMC)
20
21 set(PACKAGE_VERSION_MAJOR 0)
22 set(PACKAGE_VERSION_MINOR 0)
23 set(PACKAGE_VERSION_REVISION 1)
24 set(PACKAGE_VERSION "${PACKAGE_VERSION_MAJOR}.${PACKAGE_VERSION_MINOR}.${PACKAGE_VERSION_REVISION}")
25
26 find_package(PkgConfig REQUIRED)
27 include(GNUInstallDirs)
28
29 set(SANITIZER_MODE "none" CACHE STRING "Build using a specific sanitizer (e.g. 'address', 'thread', 'leak', 'undefined'), depends on compiler; default none")
30
31 set(LINK_LIBCXX OFF CACHE BOOL "Link against LLVMs libc++")
32
33 # Add PolicyManager as plugin
34 set(PLUGIN_PM policy_manager)
35 add_subdirectory(${PLUGIN_PM})
36
37 add_subdirectory(src)