-
Notifications
You must be signed in to change notification settings - Fork 4
/
CMakeLists.txt
75 lines (60 loc) · 1.77 KB
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
#/**********************************************************\
# Auto-generated CMakeLists.txt for the IndexedDatabasePlugin project
#\**********************************************************/
# Written to work with cmake 2.6
cmake_minimum_required (VERSION 2.6)
set (CMAKE_BACKWARDS_COMPATIBILITY 2.6)
include(${CMAKE_DIR}/common.cmake)
include(FindBerkeleyDB.cmake)
set (PROJNAME ${PLUGIN_NAME})
browserplugin_project(${PROJNAME})
file (GLOB GENERAL RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
*.cpp
*.h
*.cmake
)
file (GLOB SYNC_FILES RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
root/API/Synchronized/*.cpp
root/API/Synchronized/*.h
)
source_group(Synchronized FILES ${SYNC_FILES})
file (GLOB API_FILES RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
root/API/*.cpp
root/API/*.h
)
source_group(API FILES ${API_FILES})
file (GLOB BERK_FILES RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
root/Implementation/BerkeleyDatabase/*.cpp
root/Implementation/BerkeleyDatabase/*.h
)
source_group(BerklyDatabase FILES ${BERK_FILES})
file (GLOB IMPL_FILES RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
root/Implementation/*.cpp
root/Implementation/*.h
)
source_group(Implementation FILES ${IMPL_FILES})
file (GLOB SUPPORT_FILES RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
root/Support/*.cpp
root/Support/*.h
)
source_group(Support FILES ${SUPPORT_FILES})
# Generated files are stored in ${GENERATED} by the project configuration
SET_SOURCE_FILES_PROPERTIES(
${GENERATED}
PROPERTIES
GENERATED 1
)
SOURCE_GROUP(Generated FILES
${GENERATED}
)
SET( SOURCES
${GENERAL}
${SYNC_FILES}
${API_FILES}
${BERK_FILES}
${IMPL_FILES}
${SUPPORT_FILES}
${GENERATED}
)
# This will include Win/projectDef.cmake, Linux/projectDef.cmake, etc
include_platform()