Move TracyVersion.hpp to common.

This commit is contained in:
Bartosz Taudul 2022-08-27 16:05:36 +02:00
parent 165099ca87
commit be392a76fb
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3
9 changed files with 10 additions and 11 deletions

View File

@ -5,7 +5,7 @@
#include <stdio.h> #include <stdio.h>
#include "../server/TracyFileRead.hpp" #include "../server/TracyFileRead.hpp"
#include "../server/TracyVersion.hpp" #include "../public/common/TracyVersion.hpp"
static const uint8_t FileHeader[8] { 't', 'r', 'a', 'c', 'y', tracy::Version::Major, tracy::Version::Minor, tracy::Version::Patch }; static const uint8_t FileHeader[8] { 't', 'r', 'a', 'c', 'y', tracy::Version::Major, tracy::Version::Minor, tracy::Version::Patch };
enum { FileHeaderMagic = 5 }; enum { FileHeaderMagic = 5 };

View File

@ -2,7 +2,7 @@
#include <stdio.h> #include <stdio.h>
#include "../server/TracyFileHeader.hpp" #include "../server/TracyFileHeader.hpp"
#include "../server/TracyVersion.hpp" #include "../public/common/TracyVersion.hpp"
int main() int main()
{ {

View File

@ -236,6 +236,7 @@
<ClInclude Include="..\..\..\public\common\TracyStackFrames.hpp" /> <ClInclude Include="..\..\..\public\common\TracyStackFrames.hpp" />
<ClInclude Include="..\..\..\public\common\TracySystem.hpp" /> <ClInclude Include="..\..\..\public\common\TracySystem.hpp" />
<ClInclude Include="..\..\..\public\common\TracyUwp.hpp" /> <ClInclude Include="..\..\..\public\common\TracyUwp.hpp" />
<ClInclude Include="..\..\..\public\common\TracyVersion.hpp" />
<ClInclude Include="..\..\..\public\common\TracyYield.hpp" /> <ClInclude Include="..\..\..\public\common\TracyYield.hpp" />
<ClInclude Include="..\..\..\public\common\tracy_lz4.hpp" /> <ClInclude Include="..\..\..\public\common\tracy_lz4.hpp" />
<ClInclude Include="..\..\..\public\common\tracy_lz4hc.hpp" /> <ClInclude Include="..\..\..\public\common\tracy_lz4hc.hpp" />
@ -276,7 +277,6 @@
<ClInclude Include="..\..\..\server\TracyUtility.hpp" /> <ClInclude Include="..\..\..\server\TracyUtility.hpp" />
<ClInclude Include="..\..\..\server\TracyVarArray.hpp" /> <ClInclude Include="..\..\..\server\TracyVarArray.hpp" />
<ClInclude Include="..\..\..\server\TracyVector.hpp" /> <ClInclude Include="..\..\..\server\TracyVector.hpp" />
<ClInclude Include="..\..\..\server\TracyVersion.hpp" />
<ClInclude Include="..\..\..\server\TracyView.hpp" /> <ClInclude Include="..\..\..\server\TracyView.hpp" />
<ClInclude Include="..\..\..\server\TracyViewData.hpp" /> <ClInclude Include="..\..\..\server\TracyViewData.hpp" />
<ClInclude Include="..\..\..\server\TracyWeb.hpp" /> <ClInclude Include="..\..\..\server\TracyWeb.hpp" />

View File

@ -404,9 +404,6 @@
<ClInclude Include="..\..\..\server\TracyVarArray.hpp"> <ClInclude Include="..\..\..\server\TracyVarArray.hpp">
<Filter>server</Filter> <Filter>server</Filter>
</ClInclude> </ClInclude>
<ClInclude Include="..\..\..\server\TracyVersion.hpp">
<Filter>server</Filter>
</ClInclude>
<ClInclude Include="..\..\..\server\TracyStringDiscovery.hpp"> <ClInclude Include="..\..\..\server\TracyStringDiscovery.hpp">
<Filter>server</Filter> <Filter>server</Filter>
</ClInclude> </ClInclude>
@ -725,6 +722,9 @@
<ClInclude Include="..\..\..\server\IconsFontAwesome6.h"> <ClInclude Include="..\..\..\server\IconsFontAwesome6.h">
<Filter>server</Filter> <Filter>server</Filter>
</ClInclude> </ClInclude>
<ClInclude Include="..\..\..\public\common\TracyVersion.hpp">
<Filter>common</Filter>
</ClInclude>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<Natvis Include="DebugVis.natvis" /> <Natvis Include="DebugVis.natvis" />

View File

@ -4,7 +4,7 @@
#include <string.h> #include <string.h>
#include "../public/common/TracySocket.hpp" #include "../public/common/TracySocket.hpp"
#include "../server/TracyVersion.hpp" #include "../public/common/TracyVersion.hpp"
#include "HttpRequest.hpp" #include "HttpRequest.hpp"
#if defined _WIN32 #if defined _WIN32

View File

@ -30,6 +30,7 @@
#include "stb_image_resize.h" #include "stb_image_resize.h"
#include "../../public/common/TracyProtocol.hpp" #include "../../public/common/TracyProtocol.hpp"
#include "../../public/common/TracyVersion.hpp"
#include "../../server/tracy_pdqsort.h" #include "../../server/tracy_pdqsort.h"
#include "../../server/tracy_robin_hood.h" #include "../../server/tracy_robin_hood.h"
#include "../../server/TracyBadVersion.hpp" #include "../../server/TracyBadVersion.hpp"
@ -41,11 +42,9 @@
#include "../../server/TracyProtoHistory.hpp" #include "../../server/TracyProtoHistory.hpp"
#include "../../server/TracyStorage.hpp" #include "../../server/TracyStorage.hpp"
#include "../../server/TracyTexture.hpp" #include "../../server/TracyTexture.hpp"
#include "../../server/TracyVersion.hpp"
#include "../../server/TracyView.hpp" #include "../../server/TracyView.hpp"
#include "../../server/TracyWeb.hpp" #include "../../server/TracyWeb.hpp"
#include "../../server/TracyWorker.hpp" #include "../../server/TracyWorker.hpp"
#include "../../server/TracyVersion.hpp"
#include "../../server/IconsFontAwesome6.h" #include "../../server/IconsFontAwesome6.h"
#include "icon.hpp" #include "icon.hpp"

View File

@ -28,11 +28,11 @@
#include "../public/common/TracySystem.hpp" #include "../public/common/TracySystem.hpp"
#include "../public/common/TracyYield.hpp" #include "../public/common/TracyYield.hpp"
#include "../public/common/TracyStackFrames.hpp" #include "../public/common/TracyStackFrames.hpp"
#include "../public/common/TracyVersion.hpp"
#include "TracyFileRead.hpp" #include "TracyFileRead.hpp"
#include "TracyFileWrite.hpp" #include "TracyFileWrite.hpp"
#include "TracySort.hpp" #include "TracySort.hpp"
#include "TracyTaskDispatch.hpp" #include "TracyTaskDispatch.hpp"
#include "TracyVersion.hpp"
#include "TracyWorker.hpp" #include "TracyWorker.hpp"
namespace tracy namespace tracy

View File

@ -7,10 +7,10 @@
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include "../../public/common/TracyVersion.hpp"
#include "../../server/TracyFileRead.hpp" #include "../../server/TracyFileRead.hpp"
#include "../../server/TracyFileWrite.hpp" #include "../../server/TracyFileWrite.hpp"
#include "../../server/TracyPrint.hpp" #include "../../server/TracyPrint.hpp"
#include "../../server/TracyVersion.hpp"
#include "../../server/TracyWorker.hpp" #include "../../server/TracyWorker.hpp"
#include "../../zstd/zstd.h" #include "../../zstd/zstd.h"
#include "../../getopt/getopt.h" #include "../../getopt/getopt.h"