Skip to content

Commit 1033d78

Browse files
authored
Merge pull request #309 from pmienk/version3
Regenerate with PreferredToolArchitecture=x64.
2 parents 48a525e + c3c966d commit 1033d78

File tree

5 files changed

+13
-4
lines changed

5 files changed

+13
-4
lines changed

builds/msvc/vs2022/libbitcoin-database-test/libbitcoin-database-test.vcxproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,9 @@
6363
</ProjectConfiguration>
6464
</ItemGroup>
6565
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
66+
<PropertyGroup>
67+
<PreferredToolArchitecture>x64</PreferredToolArchitecture>
68+
</PropertyGroup>
6669
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
6770
<ImportGroup Label="PropertySheets">
6871
<Import Project="$(ProjectDir)..\..\properties\$(Configuration).props" />

builds/msvc/vs2022/libbitcoin-database-tools/libbitcoin-database-tools.vcxproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,9 @@
6363
</ProjectConfiguration>
6464
</ItemGroup>
6565
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
66+
<PropertyGroup>
67+
<PreferredToolArchitecture>x64</PreferredToolArchitecture>
68+
</PropertyGroup>
6669
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
6770
<ImportGroup Label="PropertySheets">
6871
<Import Project="$(ProjectDir)..\..\properties\$(Configuration).props" />

builds/msvc/vs2022/libbitcoin-database/libbitcoin-database.vcxproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,9 @@
6666
<ConfigurationType Condition="$(Configuration.IndexOf('DLL')) != -1">DynamicLibrary</ConfigurationType>
6767
</PropertyGroup>
6868
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
69+
<PropertyGroup>
70+
<PreferredToolArchitecture>x64</PreferredToolArchitecture>
71+
</PropertyGroup>
6972
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
7073
<ImportGroup Label="PropertySheets">
7174
<Import Project="$(ProjectDir)..\..\properties\$(Configuration).props" />

install-cmake.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ set_os_specific_compiler_settings()
320320

321321
link_to_standard_library()
322322
{
323-
if [[ ($OS == Linux && $CC == "clang") || ($OS == OpenBSD) ]]; then
323+
if [[ ($OS == Linux && $CC == clang*) || ($OS == OpenBSD) ]]; then
324324
export LDLIBS="-l$STDLIB $LDLIBS"
325325
export CXXFLAGS="-stdlib=lib$STDLIB $CXXFLAGS"
326326
fi
@@ -763,7 +763,7 @@ initialize_boost_configuration()
763763
BOOST_TOOLSET="toolset=$CC"
764764
fi
765765

766-
if [[ ($OS == Linux && $CC == "clang") || ($OS == OpenBSD) ]]; then
766+
if [[ ($OS == Linux && $CC == clang*) || ($OS == OpenBSD) ]]; then
767767
STDLIB_FLAG="-stdlib=lib$STDLIB"
768768
BOOST_CXXFLAGS="cxxflags=$STDLIB_FLAG"
769769
BOOST_LINKFLAGS="linkflags=$STDLIB_FLAG"

install.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ set_os_specific_compiler_settings()
315315

316316
link_to_standard_library()
317317
{
318-
if [[ ($OS == Linux && $CC == "clang") || ($OS == OpenBSD) ]]; then
318+
if [[ ($OS == Linux && $CC == clang*) || ($OS == OpenBSD) ]]; then
319319
export LDLIBS="-l$STDLIB $LDLIBS"
320320
export CXXFLAGS="-stdlib=lib$STDLIB $CXXFLAGS"
321321
fi
@@ -637,7 +637,7 @@ initialize_boost_configuration()
637637
BOOST_TOOLSET="toolset=$CC"
638638
fi
639639

640-
if [[ ($OS == Linux && $CC == "clang") || ($OS == OpenBSD) ]]; then
640+
if [[ ($OS == Linux && $CC == clang*) || ($OS == OpenBSD) ]]; then
641641
STDLIB_FLAG="-stdlib=lib$STDLIB"
642642
BOOST_CXXFLAGS="cxxflags=$STDLIB_FLAG"
643643
BOOST_LINKFLAGS="linkflags=$STDLIB_FLAG"

0 commit comments

Comments
 (0)