blob: 06c0b0aa0dafeebeb5a6ffa80487de431d448881 (
plain)
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
|
add_subdirectory(vmap)
add_subdirectory(Auth)
add_subdirectory(Config)
add_subdirectory(Database)
########### next target ###############
SET(shared_STAT_SRCS
ByteBuffer.h
Common.cpp
Common.h
DelayExecutor.cpp
DelayExecutor.h
Errors.h
Log.cpp
Log.h
ProgressBar.cpp
ProgressBar.h
Threading.cpp
Timer.h
Util.cpp
Util.h
WorldPacket.h
SystemConfig.h
)
include_directories(
${ACE_INCLUDE_DIR}
${CMAKE_BINARY_DIR}
${CMAKE_SOURCE_DIR}/dep/include
${CMAKE_SOURCE_DIR}/dep/include/sockets
${CMAKE_SOURCE_DIR}/src/framework
${CMAKE_SOURCE_DIR}/src/shared
${MYSQL_INCLUDE_DIR}
)
add_library(shared STATIC ${shared_STAT_SRCS})
target_link_libraries(
shared
${ACE_LIBRARY}
)
|