Skip to content

Commit 6962c66

Browse files
committed
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`.
1 parent 8da62a1 commit 6962c66

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

build_msvc/test_bitcoin-qt/test_bitcoin-qt.vcxproj

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,13 @@
99
</PropertyGroup>
1010
<ItemGroup>
1111
<ClCompile Include="..\..\src\init\bitcoin-qt.cpp" />
12-
<ClCompile Include="..\..\src\test\util\setup_common.cpp" />
13-
<ClCompile Include="..\..\src\wallet\test\util.cpp">
14-
<ObjectFileName>$(IntDir)wallet_test_util.obj</ObjectFileName>
15-
</ClCompile>
1612
<ClCompile Include="..\..\src\qt\test\addressbooktests.cpp" />
1713
<ClCompile Include="..\..\src\qt\test\apptests.cpp" />
1814
<ClCompile Include="..\..\src\qt\test\optiontests.cpp" />
1915
<ClCompile Include="..\..\src\qt\test\rpcnestedtests.cpp" />
2016
<ClCompile Include="..\..\src\qt\test\test_main.cpp" />
2117
<ClCompile Include="..\..\src\qt\test\uritests.cpp" />
22-
<ClCompile Include="..\..\src\qt\test\util.cpp">
23-
<ObjectFileName>$(IntDir)qt_test_util.obj</ObjectFileName>
24-
</ClCompile>
18+
<ClCompile Include="..\..\src\qt\test\util.cpp" />
2519
<ClCompile Include="..\..\src\qt\test\wallettests.cpp" />
2620
<ClCompile Include="..\..\src\wallet\test\wallet_test_fixture.cpp" />
2721
<ClCompile Include="$(GeneratedFilesOutDir)\moc\moc_addressbooktests.cpp" />

0 commit comments

Comments
 (0)