Implements extension loader and server
[platform/framework/web/crosswalk-tizen.git] / src / extension / CMakeLists.txt
1 # Copyright 2015 Samsung Electronics Co, Ltd. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 PKG_CHECK_MODULES(TARGET_EXTENSION_STATIC_DEPS
6   dlog
7   elementary
8   chromium-efl
9   REQUIRED
10 )
11
12 SET(TARGET_EXTENSION_STATIC_INCS
13   ${BASE_SRCDIR}
14   ${TARGET_EXTENSION_STATIC_DEPS_INCLUDE_DIRS}
15 )
16
17 SET(TARGET_EXTENSION_STATIC_SRCS
18   ${BASE_SRCDIR}/extension/extension.cc
19   ${BASE_SRCDIR}/extension/extension_instance.cc
20   ${BASE_SRCDIR}/extension/extension_adapter.cc
21   ${BASE_SRCDIR}/extension/extension_server.cc
22 )
23
24 INCLUDE_DIRECTORIES(${TARGET_EXTENSION_STATIC_INCS})
25 ADD_LIBRARY(${TARGET_EXTENSION_STATIC} STATIC
26   ${TARGET_EXTENSION_STATIC_SRCS}
27 )