2024-07-15 15:24:35 +02:00
|
|
|
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)
|
2010-08-28 18:49:17 +02:00
|
|
|
|
2024-06-15 16:01:22 +02:00
|
|
|
# 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>")
|
2024-09-15 12:55:50 +02:00
|
|
|
|
|
|
|
|
# add WindowsSettings.manifest to all executables
|
|
|
|
|
target_sources(trinity-core-interface
|
|
|
|
|
INTERFACE
|
|
|
|
|
$<$<STREQUAL:$<TARGET_PROPERTY:TYPE>,EXECUTABLE>:${CMAKE_SOURCE_DIR}/cmake/platform/win/WindowsSettings.manifest>)
|