diff options
author | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2023-05-17 15:13:11 +0100 |
---|---|---|
committer | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2023-05-17 15:13:11 +0100 |
commit | b8ed95127b23873db973b2ef4f68d9f04e9c23ae (patch) | |
tree | 24a12ca5f6f40b0c7e7c1e8f97f002a77b6fb842 | |
parent | 594f05db19fa2eaf6705f13bb0e147bce6ac21e5 (diff) | |
download | bitcoin-b8ed95127b23873db973b2ef4f68d9f04e9c23ae.tar.xz |
msvc: Provide `ObjectFileName` explicitly
Should fix intermittent MSVC link errors.
-rw-r--r-- | build_msvc/test_bitcoin-qt/test_bitcoin-qt.vcxproj | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/build_msvc/test_bitcoin-qt/test_bitcoin-qt.vcxproj b/build_msvc/test_bitcoin-qt/test_bitcoin-qt.vcxproj index 045386ea17..d0a24769e1 100644 --- a/build_msvc/test_bitcoin-qt/test_bitcoin-qt.vcxproj +++ b/build_msvc/test_bitcoin-qt/test_bitcoin-qt.vcxproj @@ -10,14 +10,18 @@ <ItemGroup> <ClCompile Include="..\..\src\init\bitcoin-qt.cpp" /> <ClCompile Include="..\..\src\test\util\setup_common.cpp" /> - <ClCompile Include="..\..\src\wallet\test\util.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" /> + <ClCompile Include="..\..\src\qt\test\util.cpp"> + <ObjectFileName>$(IntDir)qt_test_util.obj</ObjectFileName> + </ClCompile> <ClCompile Include="..\..\src\qt\test\wallettests.cpp" /> <ClCompile Include="..\..\src\wallet\test\wallet_test_fixture.cpp" /> <ClCompile Include="$(GeneratedFilesOutDir)\moc\moc_addressbooktests.cpp" /> |