Initialize Tizen 2.3
[framework/web/wrt-commons.git] / modules_mobile / db / config.cmake
1 # Copyright (c) 2011 Samsung Electronics Co., Ltd All Rights Reserved
2 #
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
6 #
7 #        http://www.apache.org/licenses/LICENSE-2.0
8 #
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.
14 #
15 #
16 # @file        config.cmake
17 # @author      Lukasz Marek (l.marek@samsung.com)
18 # @version     1.0
19 # @brief
20 #
21
22 SET(DPL_DB_SOURCES
23     ${PROJECT_SOURCE_DIR}/modules/db/src/naive_synchronization_object.cpp
24     ${PROJECT_SOURCE_DIR}/modules/db/src/orm.cpp
25     ${PROJECT_SOURCE_DIR}/modules/db/src/sql_connection.cpp
26     ${PROJECT_SOURCE_DIR}/modules/db/src/thread_database_support.cpp
27     PARENT_SCOPE
28 )
29
30
31 SET(DPL_DB_HEADERS
32     ${PROJECT_SOURCE_DIR}/modules/db/include/dpl/db/naive_synchronization_object.h
33     ${PROJECT_SOURCE_DIR}/modules/db/include/dpl/db/orm_generator.h
34     ${PROJECT_SOURCE_DIR}/modules/db/include/dpl/db/orm.h
35     ${PROJECT_SOURCE_DIR}/modules/db/include/dpl/db/orm_interface.h
36     ${PROJECT_SOURCE_DIR}/modules/db/include/dpl/db/orm_macros.h
37     ${PROJECT_SOURCE_DIR}/modules/db/include/dpl/db/sql_connection.h
38     ${PROJECT_SOURCE_DIR}/modules/db/include/dpl/db/thread_database_support.h
39     PARENT_SCOPE
40 )
41
42 SET(DPL_DB_INCLUDE_DIR
43     ${PROJECT_SOURCE_DIR}/modules/db/include
44     PARENT_SCOPE
45 )