mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-07-28 18:02:44 +02:00
bench: Move generated data to a dedicated translation unit
This commit is contained in:
@@ -20,6 +20,7 @@
|
||||
<ClCompile Include="..\..\src\bench\checkqueue.cpp" />
|
||||
<ClCompile Include="..\..\src\bench\coin_selection.cpp" />
|
||||
<ClCompile Include="..\..\src\bench\crypto_hash.cpp" />
|
||||
<ClCompile Include="..\..\src\bench\data.cpp" />
|
||||
<ClCompile Include="..\..\src\bench\examples.cpp" />
|
||||
<ClCompile Include="..\..\src\bench\lockedpool.cpp" />
|
||||
<ClCompile Include="..\..\src\bench\mempool_eviction.cpp" />
|
||||
@@ -68,7 +69,7 @@
|
||||
<ItemGroup>
|
||||
<RawBenchFile Include="..\..\src\bench\data\*.raw" />
|
||||
</ItemGroup>
|
||||
<HeaderFromHexdump RawFilePath="%(RawBenchFile.FullPath)" HeaderFilePath="%(RawBenchFile.FullPath).h" SourceHeader="static unsigned const char %(RawBenchFile.Filename)[] = {" SourceFooter="};" />
|
||||
<HeaderFromHexdump RawFilePath="%(RawBenchFile.FullPath)" HeaderFilePath="%(RawBenchFile.FullPath).h" SourceHeader="static unsigned const char %(RawBenchFile.Filename)_raw[] = {" SourceFooter="};" />
|
||||
</Target>
|
||||
<Import Label="hexdumpTarget" Project="..\msbuild\tasks\hexdump.targets" />
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
|
Reference in New Issue
Block a user