Add cynara directory structure, manifest and build files
[platform/core/security/cynara.git] / src / CMakeLists.txt
1 # Copyright (c) 2014 Samsung Electronics Co., Ltd All Rights Reserved
2 #
3 #    Licensed under the Apache License, Version 2.0 (the "License");
4 #    you may not use this file except in compliance with the License.
5 #    You may obtain a copy of the License at
6 #
7 #        http://www.apache.org/licenses/LICENSE-2.0
8 #
9 #    Unless required by applicable law or agreed to in writing, software
10 #    distributed under the License is distributed on an "AS IS" BASIS,
11 #    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 #    See the License for the specific language governing permissions and
13 #    limitations under the License.
14 #
15 # @file        CMakeLists.txt
16 # @author      Lukasz Wojciechowski <l.wojciechow@partner.samsung.com>
17 #
18
19 PKG_CHECK_MODULES(CYNARA_DEP
20     libsystemd-daemon
21     REQUIRED
22     )
23
24 INCLUDE_DIRECTORIES(SYSTEM
25     ${CYNARA_DEP_INCLUDE_DIRS}
26     )
27
28 SET(CYNARA_PATH ${PROJECT_SOURCE_DIR}/src)
29
30 INCLUDE_DIRECTORIES(
31     ${CYNARA_PATH}/include
32     ${CYNARA_PATH}/common
33     )
34
35 ADD_SUBDIRECTORY(include)
36 ADD_SUBDIRECTORY(common)
37 ADD_SUBDIRECTORY(client)
38 ADD_SUBDIRECTORY(admin)
39 ADD_SUBDIRECTORY(service)