/
CMakeLists.txt
55 lines (50 loc) · 971 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
# Define the adonthell_rpg_SRCS variable containing all required files.
set(adonthell_rpg_SRCS
character.cc
dialog.cc
dialog_line.cc
equipment.cc
faction.cc
group.cc
inventory.cc
item_storage.cc
item.cc
log_entry.cc
log_index.cc
quest.cc
quest_event.cc
quest_event_manager.cc
slot.cc
specie.cc
)
set(adonthell_rpg_HEADERS
character.h
dialog.h
dialog_line.h
equipment.h
faction.h
group.h
inventory.h
item.h
item_storage.h
log_entry.h
log_index.h
quest.h
quest_event.h
quest_event_manager.h
slot.h
specie.h
)
# Add specific include directory for this library.
include_directories(${PYTHON_INCLUDE_PATH})
# Create a shared library
add_library(adonthell_rpg SHARED ${adonthell_rpg_SRCS})
target_link_libraries(adonthell_rpg
${PYTHON_LIBRARIES}
adonthell_base
adonthell_event
)
#############################################
# Install Stuff
adonthell_install_lib(adonthell_rpg)
adonthell_install_include(rpg "${adonthell_rpg_HEADERS}")