mirror of
https://github.com/Sani7/remote-ui.git
synced 2026-10-27 06:01:14 +01:00
add git_tag
This commit is contained in:
@@ -62,6 +62,7 @@ target_link_libraries(server PRIVATE
|
||||
UI
|
||||
cpp_templates
|
||||
${GPIOD_LIB}
|
||||
git_tag
|
||||
)
|
||||
|
||||
|
||||
|
||||
+2
-1
@@ -7,6 +7,7 @@
|
||||
#include "spdlog/spdlog.h"
|
||||
|
||||
#include "simulators.hpp"
|
||||
#include "git_version.h"
|
||||
|
||||
void init_logger()
|
||||
{
|
||||
@@ -28,7 +29,7 @@ int main(int argc, char *argv[])
|
||||
QCoreApplication a(argc, argv);
|
||||
|
||||
QCommandLineParser parser;
|
||||
parser.setApplicationDescription("unisim_cpp server");
|
||||
parser.setApplicationDescription("unisim_cpp server - version: " + QString::fromStdString(Git_version::shortSha1) + QString::fromStdString(Git_version::dirty ? "-dirty" : ""));
|
||||
parser.addHelpOption();
|
||||
|
||||
QCommandLineOption port_option(QStringList() << "p"
|
||||
|
||||
Reference in New Issue
Block a user