kauzlari / sympler

SYMPLER: SYMbolic ParticLE simulatoR
GNU General Public License v3.0
15 stars 15 forks source link

Explicit version output #44

Closed msalou closed 6 years ago

kauzlari commented 6 years ago

Please add the possibility of using "./sympler --version" in the output of "./sympler" and "./sympler --help"

msalou commented 6 years ago

Added possibility of using "./sympler --version" in the output of "./sympler" and "./sympler --help". Further, added time of last commit to version number.

kauzlari commented 6 years ago

BUG: I think I broke your code by removing the "-" from the directory name "sympler-Freesteam" extracted from a zip. Please check that the CMAKE script does s.th. meaningful in this case.

INPUT:

$ CXXFLAGS="-O3" cmake /stuff/codes/codeSympler_msalouFreesteamFromZip/symplerFreesteamJustAnotherCopyWithCorruptedDirName/

OUTPUT:

... -- Execute version control tracking CMake Error at CMakeLists.txt:196 (MATH): math cannot parse the expression: "-1+1": syntax error, unexpected exp_MINUS, expecting exp_OPENPARENT or exp_NUMBER (1)

CMake Error at CMakeLists.txt:198 (string): string begin index: -1 is out of range 0 - 51

-- Configuring incomplete, errors occurred!