add build info to release (#725)
* attempt to add VC_BUILD_NAME * fix * fix * update macos.yml * fix * update macos.yml * update macos.yml * add debug step * update * update * fix release.yml * update cmake * update WindowControl.cpp * update workflows * update release.yml * add --output-always * cleanup
This commit is contained in:
@@ -37,8 +37,12 @@ WindowControl::Result WindowControl::initialize() {
|
||||
title += " - ";
|
||||
}
|
||||
title += "VoxelCore v" +
|
||||
#ifdef VC_BUILD_NAME
|
||||
std::string(VC_BUILD_NAME);
|
||||
#else
|
||||
std::to_string(ENGINE_VERSION_MAJOR) + "." +
|
||||
std::to_string(ENGINE_VERSION_MINOR);
|
||||
#endif
|
||||
if (ENGINE_DEBUG_BUILD) {
|
||||
title += " [debug]";
|
||||
}
|
||||
|
||||
@@ -14,6 +14,10 @@ static void sigterm_handler(int signum) {
|
||||
}
|
||||
|
||||
int main(int argc, char** argv) {
|
||||
#ifdef VC_BUILD_NAME
|
||||
logger.info() << "build: " << VC_BUILD_NAME;
|
||||
#endif
|
||||
|
||||
CoreParameters coreParameters;
|
||||
try {
|
||||
if (!parse_cmdline(argc, argv, coreParameters)) {
|
||||
|
||||
Reference in New Issue
Block a user