Skip to content

Commit a865fb2

Browse files
committed
Embed wolfssl in network.
1 parent 073fc9a commit a865fb2

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

generate4.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -347,6 +347,9 @@
347347
<option type="enable" name="ndebug" default="yes" define="NDEBUG" description="Compile without debug assertions." />
348348
<option type="enable" name="shared" default="yes" define="BOOST_ALL_DYN_LINK" inherited="true" description="Required for dynamically linking boost test." />
349349

350+
<!-- WOLFSSL_USER_SETTINGS enables import of "user_settings.h" into wolfssl without source modification. -->
351+
<define name="WOLFSSL_USER_SETTINGS"/>
352+
350353
<dependency name="boost" version="1.86.0" />
351354
<dependency name="boost_unit_test_framework" option="tests" />
352355
<dependency name="bitcoin-system" version="4.0.0" />

props/version4/import/libbitcoin-network.import.props

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818
<AdditionalIncludeDirectories>$(ProjectDir)..\..\..\..\..\libbitcoin-network\include\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
1919
<AdditionalOptions>/bigobj %(AdditionalOptions)</AdditionalOptions>
2020
<PreprocessorDefinitions Condition="'$(Linkage-libbitcoin-network)' == 'static' Or '$(Linkage-libbitcoin-network)' == 'ltcg'">BCT_STATIC;%(PreprocessorDefinitions)</PreprocessorDefinitions>
21+
<!-- WOLFSSL_USER_SETTINGS enables import of "user_settings.h" into wolfssl without source modification. -->
22+
<PreprocessorDefinitions>WOLFSSL_USER_SETTINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
2123
</ClCompile>
2224
<Link>
2325
<AdditionalDependencies Condition="'$(Linkage-libbitcoin-network)' != ''">libbitcoin-network.lib;%(AdditionalDependencies)</AdditionalDependencies>

props/version4/project/libbitcoin-network/libbitcoin-network/libbitcoin-network.props

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
<EnablePREfast>false</EnablePREfast>
1717
<PreprocessorDefinitions Condition="'$(ConfigurationType)' == 'DynamicLibrary'">BCT_DLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
1818
<PreprocessorDefinitions Condition="'$(ConfigurationType)' == 'StaticLibrary'">BCT_STATIC;%(PreprocessorDefinitions)</PreprocessorDefinitions>
19+
<!-- WOLFSSL_USER_SETTINGS enables import of "user_settings.h" into wolfssl without source modification. -->
20+
<PreprocessorDefinitions>WOLFSSL_USER_SETTINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
1921
</ClCompile>
2022
</ItemDefinitionGroup>
2123

0 commit comments

Comments
 (0)