tracy/extra/version.cpp

12 lines
300 B
C++
Raw Permalink Normal View History

2020-09-10 18:38:22 +00:00
#include <stdint.h>
#include <stdio.h>
#include "../server/TracyFileHeader.hpp"
2022-08-27 14:05:36 +00:00
#include "../public/common/TracyVersion.hpp"
2020-09-10 18:38:22 +00:00
int main()
{
const auto ver = uint32_t( tracy::FileVersion( tracy::Version::Major, tracy::Version::Minor, tracy::Version::Patch ) );
fwrite( &ver, 1, 4, stdout );
}