-
Notifications
You must be signed in to change notification settings - Fork 18
/
CMakeLists.txt
56 lines (44 loc) · 1012 Bytes
/
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
cmake_minimum_required (VERSION 3.10.2)
##### PLUGIN NAME #####
set(pluginname gipEmptyComponent)
##### PLUGIN PATHS #####
set(PLUGIN_DIR ${PLUGINS_DIR}/${pluginname})
set(PLUGIN_LIBS_DIR ${PLUGIN_DIR}/libs)
##### PLUGIN SOURCES #####
list(APPEND PLUGIN_SRCS
${PLUGIN_DIR}/src/gipEmptyComponent.cpp
)
##### PLUGIN HEADERS #####
list(APPEND PLUGIN_INCLUDES
${PLUGIN_DIR}/src
${PLUGIN_LIBS_DIR}/include
)
##### PLUGIN DEPENDENCY LOCATIONS (IF ANY) #####
if(WIN32)
list(APPEND PLUGIN_LINKDIRS
${PLUGIN_LIBS_DIR}/lib/win32
${PLUGIN_LIBS_DIR}/bin
)
#set(PLUGIN_LIBDIRS ${PLUGIN_LIBS_DIR}/lib/win32)
list(APPEND PLUGIN_LIBDIRS
${PLUGIN_LIBS_DIR}/lib/win32
)
elseif(LINUX)
#Linux libs here
elseif(APPLE)
#Macos libs here
endif(WIN32)
##### PLUGIN DEPENDENCY LINKING (IF ANY) #####
if(WIN32)
list(APPEND PLUGIN_LINKLIBS
#Lib names
)
elseif(LINUX)
list(APPEND PLUGIN_LINKLIBS
#Lib names
)
elseif(APPLE)
list(APPEND PLUGIN_LINKLIBS
#Lib names
)
endif(WIN32)