commit be857e6493f61a662e6678778baddb6cb3f9b6ed Author: cfif Date: Fri Jan 24 13:22:32 2025 +0300 Перенос на новую организацию GONEC diff --git a/VersionRandID.h.in b/VersionRandID.h.in new file mode 100644 index 0000000..cf7f03a --- /dev/null +++ b/VersionRandID.h.in @@ -0,0 +1 @@ +#define VERSION_RANDOM_BUILD_IDENTIFIER "${VRS_BUILD_RND}" diff --git a/modular.json b/modular.json new file mode 100644 index 0000000..8802620 --- /dev/null +++ b/modular.json @@ -0,0 +1,10 @@ +{ + "cmake": { + "inc_dirs": [ + "./" + ], + "srcs": [ + + ] + } +} \ No newline at end of file diff --git a/version.cmake b/version.cmake new file mode 100755 index 0000000..649bd15 --- /dev/null +++ b/version.cmake @@ -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}\") \ No newline at end of file