Print the version and any VCS info at startup

This commit is contained in:
Robbert van der Helm
2020-04-25 16:14:22 +02:00
parent 4a1133146a
commit 631e82f2ad
3 changed files with 13 additions and 5 deletions
+6 -1
View File
@@ -29,6 +29,9 @@
#include <boost/process/start_dir.hpp>
#endif
// Generated inside of build directory
#include <src/common/config/version.h>
#include "../common/communication.h"
#include "../common/events.h"
@@ -119,7 +122,9 @@ HostBridge::HostBridge(audioMasterCallback host_callback)
bp::start_dir = vst_plugin_path.parent_path())
#endif
{
logger.log("Initializing yabridge using '" + vst_host_path.string() + "'");
logger.log("Initializing yabridge version " +
std::string(yabridge_git_version));
logger.log("host: '" + vst_host_path.string() + "'");
logger.log("plugin: '" + vst_plugin_path.string() + "'");
logger.log("socket: '" + socket_endpoint.path() + "'");
logger.log("wineprefix: '" +