Get the hash value and pass it to rdcd and rdci

Want to display version information along with the hash value.

Change-Id: I0f9ad576f8f66747ce2e84d4f524ccd16d399927
Signed-off-by: Chen Gong <curry.gong@amd.com>
Este commit está contenido en:
Chen Gong
2024-08-21 10:44:51 +08:00
cometido por Galantsev, Dmitrii
padre bffe4e22fa
commit ac874d3921
Se han modificado 3 ficheros con 10 adiciones y 0 borrados
+1
Ver fichero
@@ -80,6 +80,7 @@ configure_file("${SERVER_CONFIG_FILE}" "${PROJECT_BINARY_DIR}/${SERVER_CONFIG_FI
link_directories(${SMI_LIB_DIR})
add_executable(${SERVER_DAEMON_EXE} "${SERVER_SRC_LIST}")
target_compile_definitions(${SERVER_DAEMON_EXE} PRIVATE CURRENT_GIT_HASH=${GIT_HASH})
# help find librdc_bootstrap.so at runtime
set_target_properties(${SERVER_DAEMON_EXE}