Show version on run
This commit is contained in:
parent
f091ff3254
commit
7e1597531d
|
@ -38,4 +38,7 @@ if (WINDOWS)
|
|||
if (SHARED)
|
||||
set_target_properties(PokemonScriptTester PROPERTIES SUFFIX ".exe")
|
||||
endif(SHARED)
|
||||
endif (WINDOWS)
|
||||
endif (WINDOWS)
|
||||
|
||||
INCLUDE(extern/gitversion/cmake.cmake)
|
||||
TARGET_GIT_VERSION_INIT(PokemonScriptTester)
|
|
@ -9,8 +9,10 @@
|
|||
#include "Tester/AngelScript/MiscMockFunctions.hpp"
|
||||
#include "Tester/AngelScript/TestFunctions.hpp"
|
||||
#include "Tester/TestRunner.hpp"
|
||||
#include <gitversion/version.h>
|
||||
|
||||
int main(int argc, char** argv) {
|
||||
std::cout << "PokemonScript Tester version: " << version::VERSION_STRING << std::endl;
|
||||
args::ArgumentParser parser("PkmnLib Script Tester.", "");
|
||||
args::HelpFlag help(parser, "help", "Display this help menu", {'h', "help"});
|
||||
|
||||
|
|
Loading…
Reference in New Issue