mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-22 06:34:36 +00:00
Add version printer.
This commit is contained in:
parent
75ae14cd04
commit
81dc6c216e
11
extra/version.cpp
Normal file
11
extra/version.cpp
Normal file
@ -0,0 +1,11 @@
|
||||
#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 );
|
||||
}
|
Loading…
Reference in New Issue
Block a user