Closed dsw7 closed 9 months ago
It would be nice to know when a particular binary was compiled, perhaps by the --version flag (or some other flag). Perhaps the data could be returned in JSON format:
--version
$ gpt --version { "version": "x.y.z", "build_date": <some-build-date> }
We know that we can set a timestamp via cmake as follows:
cmake
string(TIMESTAMP RUN_TIME) message(STATUS ${RUN_TIME})
Impetus
It would be nice to know when a particular binary was compiled, perhaps by the
--version
flag (or some other flag). Perhaps the data could be returned in JSON format:We know that we can set a timestamp via
cmake
as follows: