1 # Copyright (c) 2011 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.
16 # @file CMakeLists.txt
17 # @author Tae-Jeong Lee (taejeong.lee@samsung.com)
21 SET(WRT_LAUNCH_PAD_NAME "wrt_launchpad_daemon")
23 ADD_DEFINITIONS("-DSHARE_PREFIX=\"/usr/share/aul\"")
25 PKG_CHECK_MODULES(WRT_LAUNCH_PAD_DEPS
39 SET(WRT_LAUNCH_PAD_INCLUDE_DIRS
40 ${PROJECT_SOURCE_DIR}/src/wrt-launchpad-daemon/include
41 ${PROJECT_SOURCE_DIR}/src/wrt-launchpad-daemon/legacy
42 ${PROJECT_SOURCE_DIR}/src/wrt-launchpad-daemon/feature
43 ${WRT_LAUNCH_PAD_DEPS_INCLUDE_DIRS}
46 INCLUDE_DIRECTORIES(${WRT_LAUNCH_PAD_INCLUDE_DIRS})
49 ADD_EXECUTABLE( ${WRT_LAUNCH_PAD_NAME}
52 launchpad_src/launchpad.c
53 launchpad_src/util_x.c
57 TARGET_LINK_LIBRARIES( ${WRT_LAUNCH_PAD_NAME}
58 ${WRT_LAUNCH_PAD_DEPS_LIBRARIES}
63 INSTALL(TARGETS ${WRT_LAUNCH_PAD_NAME} DESTINATION bin)
64 INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/legacy/preload_list_wrt.txt DESTINATION /usr/share/aul )