Update to use CMake app template
[apps/agl-service-windowmanager.git] / CMakeLists.txt
index feaa536..98f77f4 100644 (file)
@@ -1,5 +1,6 @@
 #
 # Copyright (c) 2017 TOYOTA MOTOR CORPORATION
+# Copyright (C) 2020 Konsulko Group
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
 # you may not use this file except in compliance with the License.
 # limitations under the License.
 #
 
+project(WindowManagerTMC)
 
 CMAKE_MINIMUM_REQUIRED(VERSION 3.3)
 
+# Add PolicyManager as plugin
+set(PLUGIN_PM policy_manager)
+
+set(SANITIZER_MODE "none" CACHE STRING "Build using a specific sanitizer (e.g. 'address', 'thread', 'leak', 'undefined'), depends on compiler; default none")
+
 include(${CMAKE_CURRENT_SOURCE_DIR}/conf.d/cmake/config.cmake)