1 # Copyright (c) 2014-2015 Samsung Electronics Co., Ltd All Rights Reserved
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
7 # http://www.apache.org/licenses/LICENSE-2.0
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.
15 # @file CMakeLists.txt
16 # @author Lukasz Wojciechowski <l.wojciechow@partner.samsung.com>
24 IF (CMAKE_BUILD_TYPE MATCHES "DEBUG")
29 ENDIF (CMAKE_BUILD_TYPE MATCHES "DEBUG")
31 PKG_CHECK_MODULES(CYNARA_DEP
36 INCLUDE_DIRECTORIES(SYSTEM
37 ${CYNARA_DEP_INCLUDE_DIRS}
40 SET(CYNARA_PATH ${PROJECT_SOURCE_DIR}/src)
46 ADD_SUBDIRECTORY(include)
47 ADD_SUBDIRECTORY(common)
48 ADD_SUBDIRECTORY(client)
49 ADD_SUBDIRECTORY(client-async)
50 ADD_SUBDIRECTORY(client-common)
51 ADD_SUBDIRECTORY(cyad)
52 ADD_SUBDIRECTORY(chsgen)
53 ADD_SUBDIRECTORY(admin)
54 ADD_SUBDIRECTORY(agent)
55 ADD_SUBDIRECTORY(storage)
56 ADD_SUBDIRECTORY(service)
57 ADD_SUBDIRECTORY(helpers/creds-commons)
58 ADD_SUBDIRECTORY(helpers/creds-dbus)
59 ADD_SUBDIRECTORY(helpers/creds-socket)
60 ADD_SUBDIRECTORY(helpers/session)