mirror of
https://github.com/reactos/reactos.git
synced 2025-07-29 08:21:38 +00:00
[CMAKE] Add architecture to our build string
This introduces a new CMake variable WINARCH, which what Windows usually uses ("x86" instead of "i386") e.g. in sxs names.
This commit is contained in:
parent
0b0bb1a93b
commit
743c378ed1
2 changed files with 11 additions and 4 deletions
|
@ -9,7 +9,7 @@ set(COPYRIGHT_YEAR "2020")
|
|||
# or "RC1", "RC2", "" for releases.
|
||||
set(KERNEL_VERSION_BUILD_TYPE "dev")
|
||||
|
||||
set(KERNEL_VERSION "${KERNEL_VERSION_MAJOR}.${KERNEL_VERSION_MINOR}.${KERNEL_VERSION_PATCH_LEVEL}")
|
||||
set(KERNEL_VERSION "${KERNEL_VERSION_MAJOR}.${KERNEL_VERSION_MINOR}.${KERNEL_VERSION_PATCH_LEVEL}-${WINARCH}")
|
||||
if(NOT KERNEL_VERSION_BUILD_TYPE STREQUAL "")
|
||||
set(KERNEL_VERSION "${KERNEL_VERSION}-${KERNEL_VERSION_BUILD_TYPE}")
|
||||
endif()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue