Add gitreview file for Nifty Needlefish branch
[apps/agl-service-homescreen.git] / src / CMakeLists.txt
1 #
2 # Copyright (c) 2017 TOYOTA MOTOR CORPORATION
3 # Copyright (C) 2020 Konsulko Group
4 #
5 # Licensed under the Apache License, Version 2.0 (the "License");
6 # you may not use this file except in compliance with the License.
7 # You may obtain a copy of the License at
8 #
9 #      http://www.apache.org/licenses/LICENSE-2.0
10 #
11 # Unless required by applicable law or agreed to in writing, software
12 # distributed under the License is distributed on an "AS IS" BASIS,
13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 # See the License for the specific language governing permissions and
15 # limitations under the License.
16 #
17
18 PROJECT_TARGET_ADD(homescreen-binding)
19
20 add_definitions(-DAFB_BINDING_VERSION=3)
21
22 # Define project Targets
23 add_library(${TARGET_NAME} MODULE
24         homescreen.cpp
25         hs-helper.cpp
26         hs-clientmanager.cpp
27         hs-client.cpp
28         hs-proxy.cpp
29         hs-appinfo.cpp)
30
31 # Binder exposes a unique public entry point
32 SET_TARGET_PROPERTIES(${TARGET_NAME} PROPERTIES
33         LABELS "BINDING"
34         PREFIX ""
35         LINK_FLAGS ${BINDINGS_LINK_FLAG}
36         OUTPUT_NAME ${TARGET_NAME}
37 )
38
39 # Library dependencies (include updates automatically)
40 TARGET_LINK_LIBRARIES(${TARGET_NAME} ${link_libraries})