From b5229f72d5df7663002b337761fee86a36292d9a Mon Sep 17 00:00:00 2001 From: Orange Date: Thu, 29 Jan 2026 20:06:18 +0300 Subject: [PATCH 1/2] removed unity build completely --- CMakeLists.txt | 7 ------- source/utility/pe_pattern_scan.cpp | 2 +- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 4d382ccd..6d95a373 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -24,7 +24,6 @@ option(OMATH_IMGUI_INTEGRATION "Omath will define method to convert omath types option(OMATH_BUILD_EXAMPLES "Build example projects with you can learn & play" OFF) option(OMATH_STATIC_MSVC_RUNTIME_LIBRARY "Force Omath to link static runtime" OFF) option(OMATH_SUPRESS_SAFETY_CHECKS "Supress some safety checks in release build to improve general performance" ON) -option(OMATH_USE_UNITY_BUILD "Will enable unity build to speed up compilation" OFF) option(OMATH_ENABLE_LEGACY "Will enable legacy classes that MUST be used ONLY for backward compatibility" ON) option(OMATH_ENABLE_COVERAGE "Enable coverage" OFF) option(OMATH_ENABLE_FORCE_INLINE "Will for compiler to make some functions to be force inlined no matter what" ON) @@ -122,12 +121,6 @@ set_target_properties(${PROJECT_NAME} PROPERTIES CXX_STANDARD 23 CXX_STANDARD_REQUIRED ON) -if (OMATH_USE_UNITY_BUILD) - set_target_properties(${PROJECT_NAME} PROPERTIES - UNITY_BUILD ON - UNITY_BUILD_BATCH_SIZE 20) -endif () - if (OMATH_STATIC_MSVC_RUNTIME_LIBRARY) set_target_properties(${PROJECT_NAME} PROPERTIES MSVC_RUNTIME_LIBRARY "MultiThreaded$<$:Debug>" diff --git a/source/utility/pe_pattern_scan.cpp b/source/utility/pe_pattern_scan.cpp index a3d202e6..58ec3793 100644 --- a/source/utility/pe_pattern_scan.cpp +++ b/source/utility/pe_pattern_scan.cpp @@ -237,7 +237,7 @@ namespace variant); } - struct ExtractedSection + struct ExtractedSection final { std::uintptr_t virtual_base_addr; std::uintptr_t raw_base_addr; From b0fd8d42f4424443874353e4348ad2f7f8a689b8 Mon Sep 17 00:00:00 2001 From: Orange Date: Thu, 29 Jan 2026 20:09:36 +0300 Subject: [PATCH 2/2] updated tag --- VERSION | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VERSION b/VERSION index 28446a5e..cfacfe40 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -4.6.0 \ No newline at end of file +4.7.1 \ No newline at end of file