Files
TrinityCore/src/shared/CMakeLists.txt
raczman 19225e8880 Added basic support for multithreaded map updates using openmp standard.
Windows users need to install Platform SDK to use this feature,
linux users have everything they need in gcc.
Number of threads used to update world is set by confiuration file,
and can be changed dynamically without restarting core.
Thanks to megamage and Jeniczek for testing and helping out with this.

--HG--
branch : trunk
2009-06-15 09:07:51 +02:00

29 lines
464 B
CMake

add_subdirectory(vmap)
add_subdirectory(Auth)
add_subdirectory(Config)
add_subdirectory(Database)
########### next target ###############
SET(shared_STAT_SRCS
Base.cpp
Base.h
ByteBuffer.h
Common.cpp
Common.h
Errors.h
Log.cpp
Log.h
Mthread.cpp
Mthread.h
ProgressBar.cpp
ProgressBar.h
Timer.h
Util.cpp
Util.h
WorldPacket.h
SystemConfig.h
)
add_definitions(-fopenmp)
add_library(shared STATIC ${shared_STAT_SRCS})