mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-23 00:29:19 +02:00
version info changes
This commit is contained in:
2
EU07.cpp
2
EU07.cpp
@@ -259,8 +259,6 @@ int main(int argc, char *argv[])
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
Global.asVersion = "M7 16.03.2018 (based on tmj c100fcb7)";
|
|
||||||
|
|
||||||
for (int i = 1; i < argc; ++i)
|
for (int i = 1; i < argc; ++i)
|
||||||
{
|
{
|
||||||
std::string token(argv[i]);
|
std::string token(argv[i]);
|
||||||
|
|||||||
@@ -16,6 +16,7 @@ http://mozilla.org/MPL/2.0/.
|
|||||||
#include "uart.h"
|
#include "uart.h"
|
||||||
#include "utilities.h"
|
#include "utilities.h"
|
||||||
#include "motiontelemetry.h"
|
#include "motiontelemetry.h"
|
||||||
|
#include "version.h"
|
||||||
|
|
||||||
struct global_settings {
|
struct global_settings {
|
||||||
// members
|
// members
|
||||||
@@ -164,7 +165,7 @@ struct global_settings {
|
|||||||
int iMultiplayer{ 0 }; // blokada działania niektórych eventów na rzecz kominikacji
|
int iMultiplayer{ 0 }; // blokada działania niektórych eventów na rzecz kominikacji
|
||||||
// other
|
// other
|
||||||
std::string AppName{ "EU07" };
|
std::string AppName{ "EU07" };
|
||||||
std::string asVersion{ "UNKNOWN" }; // z opisem
|
std::string asVersion{ VERSION_INFO }; // z opisem
|
||||||
motiontelemetry::conf_t motiontelemetry_conf;
|
motiontelemetry::conf_t motiontelemetry_conf;
|
||||||
std::string screenshot_dir;
|
std::string screenshot_dir;
|
||||||
bool loading_log = true;
|
bool loading_log = true;
|
||||||
|
|||||||
@@ -2,7 +2,9 @@ version: '{build}'
|
|||||||
image: Visual Studio 2017
|
image: Visual Studio 2017
|
||||||
clone_depth: 1
|
clone_depth: 1
|
||||||
build_script:
|
build_script:
|
||||||
- cmd: >-
|
- ps: >-
|
||||||
|
Write-Output "#define VERSION_INFO `"$(git log -1 --date="format:%F %R" --format="%cd, %h")`"" > version.h
|
||||||
|
|
||||||
mkdir builds
|
mkdir builds
|
||||||
|
|
||||||
cd builds
|
cd builds
|
||||||
|
|||||||
Reference in New Issue
Block a user