diff --git a/extra/version.cpp b/extra/version.cpp new file mode 100644 index 00000000..3399fa2e --- /dev/null +++ b/extra/version.cpp @@ -0,0 +1,11 @@ +#include +#include + +#include "../server/TracyFileHeader.hpp" +#include "../server/TracyVersion.hpp" + +int main() +{ + const auto ver = uint32_t( tracy::FileVersion( tracy::Version::Major, tracy::Version::Minor, tracy::Version::Patch ) ); + fwrite( &ver, 1, 4, stdout ); +}