mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-21 09:44:45 +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
11 lines
439 B
CMake
11 lines
439 B
CMake
target_compile_definitions(trinity-compile-option-interface
|
|
INTERFACE
|
|
_WIN32_WINNT=0x0A00 # Windows 10
|
|
NTDDI_VERSION=0x0A000007 # 19H1 (1903)
|
|
WIN32_LEAN_AND_MEAN
|
|
NOMINMAX
|
|
TRINITY_REQUIRED_WINDOWS_BUILD=18362)
|
|
|
|
# set up output paths for executable binaries (.exe-files, and .dll-files on DLL-capable platforms)
|
|
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin/$<CONFIG>")
|