Skip to content

Commit 895853d

Browse files
committed
fixed:vs build error
1 parent b9efadc commit 895853d

File tree

2 files changed

+24
-12
lines changed

2 files changed

+24
-12
lines changed

XEngine_Source/StorageModule_Database/StorageModule_Database.vcxproj

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,20 +37,20 @@
3737
<UseDebugLibraries>false</UseDebugLibraries>
3838
<PlatformToolset>v143</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>
4444
<UseDebugLibraries>true</UseDebugLibraries>
4545
<PlatformToolset>v143</PlatformToolset>
46-
<CharacterSet>Unicode</CharacterSet>
46+
<CharacterSet>MultiByte</CharacterSet>
4747
</PropertyGroup>
4848
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
4949
<ConfigurationType>DynamicLibrary</ConfigurationType>
5050
<UseDebugLibraries>false</UseDebugLibraries>
5151
<PlatformToolset>v143</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,18 @@
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>
85+
<IncludePath>$(XEngine_Include);$(IncludePath)</IncludePath>
86+
<LibraryPath>$(XEngine_Lib64);$(LibraryPath)</LibraryPath>
8387
</PropertyGroup>
8488
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
8589
<LinkIncremental>false</LinkIncremental>
90+
<IncludePath>$(XEngine_Include);$(IncludePath)</IncludePath>
91+
<LibraryPath>$(XEngine_Lib64);$(LibraryPath)</LibraryPath>
8692
</PropertyGroup>
8793
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
8894
<ClCompile>
@@ -106,7 +112,7 @@
106112
<FunctionLevelLinking>true</FunctionLevelLinking>
107113
<IntrinsicFunctions>true</IntrinsicFunctions>
108114
<SDLCheck>true</SDLCheck>
109-
<PreprocessorDefinitions>WIN32;NDEBUG;STORAGEMODULEDATABASE_EXPORTS;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
115+
<PreprocessorDefinitions>WIN32;NDEBUG;STORAGEMODULEDATABASE_EXPORTS;_WINDOWS;_USRDLL;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
110116
<ConformanceMode>true</ConformanceMode>
111117
<PrecompiledHeader>Use</PrecompiledHeader>
112118
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
@@ -124,7 +130,7 @@
124130
<ClCompile>
125131
<WarningLevel>Level3</WarningLevel>
126132
<SDLCheck>true</SDLCheck>
127-
<PreprocessorDefinitions>_DEBUG;STORAGEMODULEDATABASE_EXPORTS;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
133+
<PreprocessorDefinitions>_DEBUG;STORAGEMODULEDATABASE_EXPORTS;_WINDOWS;_USRDLL;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
128134
<ConformanceMode>true</ConformanceMode>
129135
<PrecompiledHeader>Use</PrecompiledHeader>
130136
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
@@ -142,7 +148,7 @@
142148
<FunctionLevelLinking>true</FunctionLevelLinking>
143149
<IntrinsicFunctions>true</IntrinsicFunctions>
144150
<SDLCheck>true</SDLCheck>
145-
<PreprocessorDefinitions>NDEBUG;STORAGEMODULEDATABASE_EXPORTS;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
151+
<PreprocessorDefinitions>NDEBUG;STORAGEMODULEDATABASE_EXPORTS;_WINDOWS;_USRDLL;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
146152
<ConformanceMode>true</ConformanceMode>
147153
<PrecompiledHeader>Use</PrecompiledHeader>
148154
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>

XEngine_Source/StorageModule_P2XPPeer/StorageModule_P2XPPeer.vcxproj

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,20 +37,20 @@
3737
<UseDebugLibraries>false</UseDebugLibraries>
3838
<PlatformToolset>v143</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>
4444
<UseDebugLibraries>true</UseDebugLibraries>
4545
<PlatformToolset>v143</PlatformToolset>
46-
<CharacterSet>Unicode</CharacterSet>
46+
<CharacterSet>MultiByte</CharacterSet>
4747
</PropertyGroup>
4848
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
4949
<ConfigurationType>DynamicLibrary</ConfigurationType>
5050
<UseDebugLibraries>false</UseDebugLibraries>
5151
<PlatformToolset>v143</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,18 @@
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>
85+
<IncludePath>$(XEngine_Include);$(IncludePath)</IncludePath>
86+
<LibraryPath>$(XEngine_Lib64);$(LibraryPath)</LibraryPath>
8387
</PropertyGroup>
8488
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
8589
<LinkIncremental>false</LinkIncremental>
90+
<IncludePath>$(XEngine_Include);$(IncludePath)</IncludePath>
91+
<LibraryPath>$(XEngine_Lib64);$(LibraryPath)</LibraryPath>
8692
</PropertyGroup>
8793
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
8894
<ClCompile>
@@ -106,7 +112,7 @@
106112
<FunctionLevelLinking>true</FunctionLevelLinking>
107113
<IntrinsicFunctions>true</IntrinsicFunctions>
108114
<SDLCheck>true</SDLCheck>
109-
<PreprocessorDefinitions>WIN32;NDEBUG;STORAGEMODULEP2XPPEER_EXPORTS;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
115+
<PreprocessorDefinitions>WIN32;NDEBUG;STORAGEMODULEP2XPPEER_EXPORTS;_WINDOWS;_USRDLL;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
110116
<ConformanceMode>true</ConformanceMode>
111117
<PrecompiledHeader>Use</PrecompiledHeader>
112118
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
@@ -124,7 +130,7 @@
124130
<ClCompile>
125131
<WarningLevel>Level3</WarningLevel>
126132
<SDLCheck>true</SDLCheck>
127-
<PreprocessorDefinitions>_DEBUG;STORAGEMODULEP2XPPEER_EXPORTS;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
133+
<PreprocessorDefinitions>_DEBUG;STORAGEMODULEP2XPPEER_EXPORTS;_WINDOWS;_USRDLL;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
128134
<ConformanceMode>true</ConformanceMode>
129135
<PrecompiledHeader>Use</PrecompiledHeader>
130136
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
@@ -142,7 +148,7 @@
142148
<FunctionLevelLinking>true</FunctionLevelLinking>
143149
<IntrinsicFunctions>true</IntrinsicFunctions>
144150
<SDLCheck>true</SDLCheck>
145-
<PreprocessorDefinitions>NDEBUG;STORAGEMODULEP2XPPEER_EXPORTS;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
151+
<PreprocessorDefinitions>NDEBUG;STORAGEMODULEP2XPPEER_EXPORTS;_WINDOWS;_USRDLL;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
146152
<ConformanceMode>true</ConformanceMode>
147153
<PrecompiledHeader>Use</PrecompiledHeader>
148154
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>

0 commit comments

Comments
 (0)