From bbe359c81cf43e7bb477933048bb7aff288fbf62 Mon Sep 17 00:00:00 2001 From: Eddoursul Date: Wed, 6 Aug 2025 02:05:20 +0200 Subject: [PATCH] Added a DLL build batch script --- source/Enderal DLL/CMakeLists.txt | 4 ++++ source/Enderal DLL/build.cmd | 3 +++ 2 files changed, 7 insertions(+) create mode 100644 source/Enderal DLL/build.cmd diff --git a/source/Enderal DLL/CMakeLists.txt b/source/Enderal DLL/CMakeLists.txt index 4bb498360..d6d2f675e 100644 --- a/source/Enderal DLL/CMakeLists.txt +++ b/source/Enderal DLL/CMakeLists.txt @@ -20,6 +20,10 @@ set(CMAKE_CXX_STANDARD 23) set(CMAKE_CXX_STANDARD_REQUIRED ON) set(CMAKE_INTERPROCEDURAL_OPTIMIZATION ON) +add_compile_definitions(NOMINMAX _USE_MATH_DEFINES WIN32_LEAN_AND_MEAN) +add_definitions(-DUNICODE -D_UNICODE) +add_compile_options(/Zc:preprocessor /EHsc) + configure_file( ${CMAKE_CURRENT_SOURCE_DIR}/cmake/version.rc.in ${CMAKE_CURRENT_BINARY_DIR}/version.rc diff --git a/source/Enderal DLL/build.cmd b/source/Enderal DLL/build.cmd new file mode 100644 index 000000000..3a0949e82 --- /dev/null +++ b/source/Enderal DLL/build.cmd @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:728d22575ade0d2cad1e1efd9fd8b0815b1966af9561de822326836628881202 +size 236