Skip to content

Commit baaf87d

Browse files
committed
fixed:bt module build error
1 parent f5a855a commit baaf87d

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

XEngine_Source/StorageModule_BTorrent/StorageModule_BTorrent.vcxproj

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,18 @@
7474
<IncludePath>$(XEngine_Include);$(IncludePath)</IncludePath>
7575
<LibraryPath>$(XEngine_Lib32);$(LibraryPath)</LibraryPath>
7676
</PropertyGroup>
77+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
78+
<IncludePath>$(XEngine_Include);$(IncludePath)</IncludePath>
79+
<LibraryPath>$(XEngine_Lib32);$(LibraryPath)</LibraryPath>
80+
</PropertyGroup>
81+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
82+
<IncludePath>$(XEngine_Include);../XEngine_ThirdPart/jsoncpp;$(IncludePath)</IncludePath>
83+
<LibraryPath>$(XEngine_Lib64);$(LibraryPath)</LibraryPath>
84+
</PropertyGroup>
85+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
86+
<IncludePath>$(XEngine_Include);$(IncludePath)</IncludePath>
87+
<LibraryPath>$(XEngine_Lib64);$(LibraryPath)</LibraryPath>
88+
</PropertyGroup>
7789
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
7890
<ClCompile>
7991
<WarningLevel>Level3</WarningLevel>
@@ -96,7 +108,7 @@
96108
<FunctionLevelLinking>true</FunctionLevelLinking>
97109
<IntrinsicFunctions>true</IntrinsicFunctions>
98110
<SDLCheck>true</SDLCheck>
99-
<PreprocessorDefinitions>WIN32;NDEBUG;STORAGEMODULEBTORRENT_EXPORTS;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
111+
<PreprocessorDefinitions>WIN32;NDEBUG;STORAGEMODULEBTORRENT_EXPORTS;_WINDOWS;_USRDLL;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
100112
<ConformanceMode>true</ConformanceMode>
101113
<PrecompiledHeader>Use</PrecompiledHeader>
102114
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
@@ -114,7 +126,7 @@
114126
<ClCompile>
115127
<WarningLevel>Level3</WarningLevel>
116128
<SDLCheck>true</SDLCheck>
117-
<PreprocessorDefinitions>_DEBUG;STORAGEMODULEBTORRENT_EXPORTS;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
129+
<PreprocessorDefinitions>_DEBUG;STORAGEMODULEBTORRENT_EXPORTS;_WINDOWS;_USRDLL;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
118130
<ConformanceMode>true</ConformanceMode>
119131
<PrecompiledHeader>Use</PrecompiledHeader>
120132
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
@@ -132,7 +144,7 @@
132144
<FunctionLevelLinking>true</FunctionLevelLinking>
133145
<IntrinsicFunctions>true</IntrinsicFunctions>
134146
<SDLCheck>true</SDLCheck>
135-
<PreprocessorDefinitions>NDEBUG;STORAGEMODULEBTORRENT_EXPORTS;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
147+
<PreprocessorDefinitions>NDEBUG;STORAGEMODULEBTORRENT_EXPORTS;_WINDOWS;_USRDLL;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
136148
<ConformanceMode>true</ConformanceMode>
137149
<PrecompiledHeader>Use</PrecompiledHeader>
138150
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>

0 commit comments

Comments
 (0)