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:
cometido por
Galantsev, Dmitrii
padre
bffe4e22fa
commit
ac874d3921
@@ -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}
|
||||
|
||||
Referencia en una nueva incidencia
Block a user