fix(Core/Cmake): Rename VER_* macros to AC_* and centralize build dir… (#24717)

Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Shauren <shauren.trinity@gmail.com>
This commit is contained in:
Andrew
2026-02-15 08:55:08 -03:00
committed by GitHub
parent e049122f5f
commit b348455d53
13 changed files with 45 additions and 82 deletions
@@ -20,6 +20,12 @@ set(CXX_EXTENSIONS OFF)
set(CMAKE_CXX_STANDARD 20)
message(STATUS "Enabled С++20 standard")
# Set build-directive (used in core to tell which buildtype we used)
target_compile_definitions(acore-compile-option-interface
INTERFACE
AC_BUILD_TYPE="$<CONFIG>"
AC_BUILD_HAS_DEBUG_INFO=$<OR:$<CONFIG:Debug>,$<CONFIG:RelWithDebInfo>>)
# An interface library to make the warnings level available to other targets
# This interface taget is set-up through the platform specific script
add_library(acore-warning-interface INTERFACE)