1 # Copyright (c) 2019 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 ADD_OSQUERY_LIBRARY(TRUE osquery_property property/property.cpp)
17 ADD_OSQUERY_LIBRARY(TRUE osquery_manager manager/manager.cpp
18 manager/manager_impl.cpp)
20 ADD_OSQUERY_LIBRARY(TRUE osquery_notification notification/notification.cpp)
22 FILE(GLOB OSQUERY_TIZEN_TESTS "*/tests/*.cpp")
23 ADD_OSQUERY_TEST(TRUE ${OSQUERY_TIZEN_TESTS})
26 SET(GBS_ONLY_PACKAGES klay
30 capi-network-wifi-manager)
32 INCLUDE(FindPkgConfig)
33 PKG_CHECK_MODULES(GBS_DEPS REQUIRED ${GBS_ONLY_PACKAGES})
34 INCLUDE_DIRECTORIES(SYSTEM ${GBS_DEPS_INCLUDE_DIRS})
36 ADD_OSQUERY_LINK(FALSE ${GBS_DEPS_LIBRARIES})
37 ADD_OSQUERY_LIBRARY(FALSE tizen-dpm-wifi device-policy/wifi/wifi.cpp
38 device-policy/wifi/wifi-impl.cpp)
39 ENDIF(DEFINED GBS_BUILD)