tracy/extra/version.cpp

12 lines
293 B
C++
Raw Normal View History

2020-09-10 18:38:22 +00:00
#include <stdint.h>
#include <stdio.h>
#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 );
}