*mtmap is disabled by default. To use it, define MULTI_THREAD_MAP in define.h *mtmap support is not provided for windows users. Because there is no free openmp lib for windows. If you have openmp lib and want to use openmp, you need to manually change the setting. --HG-- branch : trunk
30 lines
478 B
CMake
30 lines
478 B
CMake
add_subdirectory(vmap)
|
|
add_subdirectory(Auth)
|
|
add_subdirectory(Config)
|
|
add_subdirectory(Database)
|
|
|
|
########### next target ###############
|
|
|
|
SET(shared_STAT_SRCS
|
|
ByteBuffer.h
|
|
Common.cpp
|
|
Common.h
|
|
Errors.h
|
|
Log.cpp
|
|
Log.h
|
|
ProgressBar.cpp
|
|
ProgressBar.h
|
|
Threading.cpp
|
|
Timer.h
|
|
Util.cpp
|
|
Util.h
|
|
WorldPacket.h
|
|
SystemConfig.h
|
|
)
|
|
add_definitions(-fopenmp)
|
|
add_library(shared STATIC ${shared_STAT_SRCS})
|
|
target_link_libraries(
|
|
shared
|
|
${ACE_LIBRARY}
|
|
)
|