Skip to content

Commit 30f46cc

Browse files
committed
fixed:release build on windows
1 parent 63a06dc commit 30f46cc

File tree

3 files changed

+14
-4
lines changed

3 files changed

+14
-4
lines changed

XEngine_Source/MQCore_DDSMessage/MQCore_DDSMessage.vcxproj

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
<UseDebugLibraries>false</UseDebugLibraries>
3838
<PlatformToolset>v142</PlatformToolset>
3939
<WholeProgramOptimization>true</WholeProgramOptimization>
40-
<CharacterSet>Unicode</CharacterSet>
40+
<CharacterSet>MultiByte</CharacterSet>
4141
</PropertyGroup>
4242
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
4343
<ConfigurationType>DynamicLibrary</ConfigurationType>
@@ -50,7 +50,7 @@
5050
<UseDebugLibraries>false</UseDebugLibraries>
5151
<PlatformToolset>v142</PlatformToolset>
5252
<WholeProgramOptimization>true</WholeProgramOptimization>
53-
<CharacterSet>Unicode</CharacterSet>
53+
<CharacterSet>MultiByte</CharacterSet>
5454
</PropertyGroup>
5555
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
5656
<ImportGroup Label="ExtensionSettings">
@@ -77,12 +77,16 @@
7777
</PropertyGroup>
7878
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
7979
<LinkIncremental>false</LinkIncremental>
80+
<IncludePath>$(XEngine_Include);$(IncludePath)</IncludePath>
81+
<LibraryPath>$(XEngine_Lib32);$(LibraryPath)</LibraryPath>
8082
</PropertyGroup>
8183
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
8284
<LinkIncremental>true</LinkIncremental>
8385
</PropertyGroup>
8486
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
8587
<LinkIncremental>false</LinkIncremental>
88+
<IncludePath>$(XEngine_Include);$(IncludePath)</IncludePath>
89+
<LibraryPath>$(XEngine_Lib64);$(LibraryPath)</LibraryPath>
8690
</PropertyGroup>
8791
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
8892
<ClCompile>
@@ -111,6 +115,8 @@
111115
<ConformanceMode>true</ConformanceMode>
112116
<PrecompiledHeader>Use</PrecompiledHeader>
113117
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
118+
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
119+
<DisableSpecificWarnings>4819</DisableSpecificWarnings>
114120
</ClCompile>
115121
<Link>
116122
<SubSystem>Windows</SubSystem>
@@ -147,6 +153,8 @@
147153
<ConformanceMode>true</ConformanceMode>
148154
<PrecompiledHeader>Use</PrecompiledHeader>
149155
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
156+
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
157+
<DisableSpecificWarnings>4819</DisableSpecificWarnings>
150158
</ClCompile>
151159
<Link>
152160
<SubSystem>Windows</SubSystem>

XEngine_Source/MQCore_ProtocolModule/MQCore_ProtocolModule.vcxproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,13 +78,15 @@
7878
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
7979
<LinkIncremental>false</LinkIncremental>
8080
<IncludePath>$(XEngine_Include);$(IncludePath)</IncludePath>
81+
<LibraryPath>$(XEngine_Lib32);$(LibraryPath)</LibraryPath>
8182
</PropertyGroup>
8283
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
8384
<LinkIncremental>true</LinkIncremental>
8485
</PropertyGroup>
8586
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
8687
<LinkIncremental>false</LinkIncremental>
8788
<IncludePath>$(XEngine_Include);$(IncludePath)</IncludePath>
89+
<LibraryPath>$(XEngine_Lib64);$(LibraryPath)</LibraryPath>
8890
</PropertyGroup>
8991
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
9092
<ClCompile>

XEngine_Source/XEngine_MQServiceApp/XEngine_MQServiceApp.vcxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,15 +78,15 @@
7878
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
7979
<LinkIncremental>false</LinkIncremental>
8080
<IncludePath>$(XEngine_Include);$(IncludePath)</IncludePath>
81-
<LibraryPath>$(XEngine_Library);$(LibraryPath)</LibraryPath>
81+
<LibraryPath>$(XEngine_Lib32);$(LibraryPath)</LibraryPath>
8282
</PropertyGroup>
8383
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
8484
<LinkIncremental>true</LinkIncremental>
8585
</PropertyGroup>
8686
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
8787
<LinkIncremental>false</LinkIncremental>
8888
<IncludePath>$(XEngine_Include);$(IncludePath)</IncludePath>
89-
<LibraryPath>$(XEngine_Library);$(LibraryPath)</LibraryPath>
89+
<LibraryPath>$(XEngine_Lib64);$(LibraryPath)</LibraryPath>
9090
</PropertyGroup>
9191
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
9292
<ClCompile>

0 commit comments

Comments
 (0)