mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-26 11:52:32 +01:00
* Migrate all add_definitions to target_compile_definitions
* Remove -D from preprocessor definitions added by target_compile_definitions (unneccessary, cmake strips it anyway)
* Fixed NO_BUFFERPOOL not being set on g3d if jemalloc is used
* Moved library/compiler specific compile flag settings spread all over various CMakeLists to their related library/compiler file
* Remove ancient manual link flag settings for worldserver
(cherry picked from commit 77fe2745fe)
24 lines
845 B
CMake
24 lines
845 B
CMake
# This file is part of the TrinityCore Project. See AUTHORS file for Copyright information
|
|
#
|
|
# This file is free software; as a special exception the author gives
|
|
# unlimited permission to copy and/or distribute it, with or without
|
|
# modifications, as long as this notice is preserved.
|
|
#
|
|
# This program is distributed in the hope that it will be useful, but
|
|
# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
|
|
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
|
|
if(WIN32)
|
|
list(APPEND sources_windows
|
|
${CMAKE_SOURCE_DIR}/src/common/Platform/ServiceWin32.cpp
|
|
${CMAKE_SOURCE_DIR}/src/common/Platform/ServiceWin32.h
|
|
)
|
|
endif(WIN32)
|
|
|
|
add_subdirectory(database)
|
|
add_subdirectory(shared)
|
|
add_subdirectory(game)
|
|
add_subdirectory(authserver)
|
|
add_subdirectory(scripts)
|
|
add_subdirectory(worldserver)
|