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.
15 # @file CMakeLists.txt
16 # @author Bartlomiej Grzelewski (b.grzelewski@samsung.com)
24 # Define all DPL tests sources.
25 # Runner is responsible for runnint it all and
26 # generating proper output files
29 SET(TARGET_LOC "dpl-tests-loc")
31 SET(MAIN_DIR ${PROJECT_SOURCE_DIR}/tests/localization)
34 ${MAIN_DIR}/test_localization.cpp
35 ${MAIN_DIR}/test_suite01.cpp
36 ${MAIN_DIR}/mockup_src/widget_dao.cpp
37 ${PROJECT_SOURCE_DIR}/modules/localization/src/localization_utils.cpp
38 ${PROJECT_SOURCE_DIR}/modules/localization/src/w3c_file_localization.cpp
42 ${SYS_EFL_INCLUDE_DIRS}
43 ${DPL_TEST_INCLUDE_DIR}
44 ${MAIN_DIR}/mockup_include
45 ${PROJECT_SOURCE_DIR}/modules/localization/include
48 LINK_DIRECTORIES(${SYS_EFL_LIBRARY_DIRS})
50 ADD_EXECUTABLE(${TARGET_LOC} ${LOC_TESTS_SOURCES})
52 TARGET_LINK_LIBRARIES(
56 ${TARGET_DPL_TEST_ENGINE_EFL}
59 SET_TARGET_PROPERTIES(${TARGET_LOC} PROPERTIES
60 RUNTIME_OUTPUT_DIRECTORY ${PROJECT_SOURCE_DIR}/bin/
61 BUILD_WITH_INSTALL_RPATH ON
62 INSTALL_RPATH_USE_LINK_PATH ON
65 INSTALL(TARGETS ${TARGET_LOC}
68 ADD_SUBDIRECTORY(files)