update build script and version

This commit is contained in:
Dominic Reich 2019-11-03 20:22:28 +01:00
parent e66fd1e341
commit d35811a8a2
2 changed files with 15 additions and 13 deletions

View file

@ -1,2 +1,4 @@
#!/bin/sh
g++ -O2 -pipe -fomit-frame-pointer -Wall -s -pie -fpie -lboost_system -o blacklist blacklist.cpp && cp blacklist /usr/local/bin/
g++ blacklist.cpp -o blacklist -O2 -pipe -fomit-frame-pointer -Wall -s -pie -fpie -lboost_system
#cp blacklist /usr/local/bin/

View file

@ -4,29 +4,29 @@
namespace AutoVersion{
//Date Version Types
static const char DATE[] = "06";
static const char MONTH[] = "06";
static const char YEAR[] = "2015";
static const char UBUNTU_VERSION_STYLE[] = "15.06";
static const char DATE[] = "03";
static const char MONTH[] = "11";
static const char YEAR[] = "2019";
static const char UBUNTU_VERSION_STYLE[] = "19.11";
//Software Status
static const char STATUS[] = "Release Candidate [raspberry port]";
static const char STATUS[] = "Release Candidate [vserver]";
static const char STATUS_SHORT[] = "rc";
//Standard Version Type
static const long MAJOR = 0;
static const long MINOR = 3;
static const long BUILD = 56;
static const long MINOR = 4;
static const long BUILD = 66;
static const long REVISION = 276;
//Miscellaneous Version Types
static const long BUILDS_COUNT = 56;
#define RC_FILEVERSION 0,3,56,276
#define RC_FILEVERSION_STRING "0, 3, 56, 276\0"
static const char FULLVERSION_STRING [] = "0.3.56.276";
static const long BUILDS_COUNT = 66;
#define RC_FILEVERSION 0,4,66,276
#define RC_FILEVERSION_STRING "0, 4, 66, 276\0"
static const char FULLVERSION_STRING [] = "0.4.66.276";
//These values are to keep track of your versioning state, don't modify them.
static const long BUILD_HISTORY = 56;
static const long BUILD_HISTORY = 66;
}
#endif //VERSION_H