- Replace jvm regex replacement script with mvn command. - Replace cmake script for python version with python script. - Automate rest of the manual steps. The script can handle dev branch, rc release, and formal release version.
7 lines
245 B
CMake
7 lines
245 B
CMake
function (write_version)
|
|
message(STATUS "xgboost VERSION: ${xgboost_VERSION}")
|
|
configure_file(
|
|
${xgboost_SOURCE_DIR}/cmake/version_config.h.in
|
|
${xgboost_SOURCE_DIR}/include/xgboost/version_config.h @ONLY)
|
|
endfunction (write_version)
|