1 # Copyright (c) 2013 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 Tomasz Iwanek (t.iwanek@samsung.com)
17 # @author Karol Pawlowski (k.pawlowski@samsung.com)
22 SET(COMMON_INCLUDES "${CMAKE_CURRENT_SOURCE_DIR}/include")
24 WRT_TEST_LIBRARY(${WRT_TEST_LIBRARY})
26 WRT_INCLUDE_DIRECTORIES(
27 ${COMMON_LIB_PKGS_INCLUDE_DIRS}
30 WRT_LINK_DIRECTORIES(${COMMON_LIB_PKGS_LIBRARY_DIRS})
31 WRT_TARGET_LINK_LIBRARIES(${COMMON_LIB_PKGS_LIBRARIES})
33 SET(WRT_DETAIL_SOURCES
34 ${CMAKE_CURRENT_SOURCE_DIR}/src/InstallerWrapper.cpp
35 ${CMAKE_CURRENT_SOURCE_DIR}/src/ManifestFile.cpp
38 INCLUDE_DIRECTORIES(${COMMON_INCLUDES})
39 INCLUDE_DIRECTORIES(${COMMON_LIB_PKGS_INCLUDE_DIRS})
41 ADD_LIBRARY(${WRT_TEST_LIBRARY} STATIC ${WRT_DETAIL_SOURCES})