aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2024-03-01 23:10:09 +0000
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2024-03-01 23:10:09 +0000
commit6962c66b4a9657fd2a6fcca8e9a31beb90d13924 (patch)
treeb06f100e1c6d6c44b28eb8c1e9c9da996fa1499f
parent8da62a1041bfaf8ce4e40a4b31c7281cbe8bb916 (diff)
downloadbitcoin-6962c66b4a9657fd2a6fcca8e9a31beb90d13924.tar.xz
build, msvc: Do not compile redundant sources
The `test\util\setup_common.cpp` and `wallet\test\util.cpp` sources are already compiled and included in the `libtest_util` library, which is linked to the `test_bitcoin-qt.exe` binary. This change follows the same logic as `Makefile.qttest.include`.
-rw-r--r--build_msvc/test_bitcoin-qt/test_bitcoin-qt.vcxproj8
1 files changed, 1 insertions, 7 deletions
diff --git a/build_msvc/test_bitcoin-qt/test_bitcoin-qt.vcxproj b/build_msvc/test_bitcoin-qt/test_bitcoin-qt.vcxproj
index c5a32a9711..7b4b73ca21 100644
--- a/build_msvc/test_bitcoin-qt/test_bitcoin-qt.vcxproj
+++ b/build_msvc/test_bitcoin-qt/test_bitcoin-qt.vcxproj
@@ -9,19 +9,13 @@
</PropertyGroup>
<ItemGroup>
<ClCompile Include="..\..\src\init\bitcoin-qt.cpp" />
- <ClCompile Include="..\..\src\test\util\setup_common.cpp" />
- <ClCompile Include="..\..\src\wallet\test\util.cpp">
- <ObjectFileName>$(IntDir)wallet_test_util.obj</ObjectFileName>
- </ClCompile>
<ClCompile Include="..\..\src\qt\test\addressbooktests.cpp" />
<ClCompile Include="..\..\src\qt\test\apptests.cpp" />
<ClCompile Include="..\..\src\qt\test\optiontests.cpp" />
<ClCompile Include="..\..\src\qt\test\rpcnestedtests.cpp" />
<ClCompile Include="..\..\src\qt\test\test_main.cpp" />
<ClCompile Include="..\..\src\qt\test\uritests.cpp" />
- <ClCompile Include="..\..\src\qt\test\util.cpp">
- <ObjectFileName>$(IntDir)qt_test_util.obj</ObjectFileName>
- </ClCompile>
+ <ClCompile Include="..\..\src\qt\test\util.cpp" />
<ClCompile Include="..\..\src\qt\test\wallettests.cpp" />
<ClCompile Include="..\..\src\wallet\test\wallet_test_fixture.cpp" />
<ClCompile Include="$(GeneratedFilesOutDir)\moc\moc_addressbooktests.cpp" />