Начало

This commit is contained in:
cfif 2025-09-23 17:12:43 +03:00
commit b05d77dec3
3 changed files with 17 additions and 0 deletions

1
VersionRandID.h.in Normal file
View File

@ -0,0 +1 @@
#define VERSION_RANDOM_BUILD_IDENTIFIER "${VRS_BUILD_RND}"

10
modular.json Normal file
View File

@ -0,0 +1,10 @@
{
"cmake": {
"inc_dirs": [
"./"
],
"srcs": [
]
}
}

6
version.cmake Executable file
View File

@ -0,0 +1,6 @@
set(WORKING_DIRECTORY ${CMAKE_CURRENT_LIST_DIR})
string(RANDOM VRS_BUILD_RND)
configure_file(${WORKING_DIRECTORY}/VersionRandID.h.in ${WORKING_DIRECTORY}/VersionRandID.h)
message(STATUS "New build identifier: " \"${VRS_BUILD_RND}\")