Skip to content

Commit 33b4592

Browse files
committed
update:example x86_64 build on windows supported
1 parent 956f6ab commit 33b4592

File tree

5 files changed

+18
-1
lines changed

5 files changed

+18
-1
lines changed

XEngine_Apps/MQCore_HTTPApp/MQCore_HTTPApp.vcxproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,8 @@
8080
</PropertyGroup>
8181
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
8282
<LinkIncremental>true</LinkIncremental>
83+
<IncludePath>$(XEngine_Include);$(IncludePath)</IncludePath>
84+
<LibraryPath>$(XEngine_Lib64);$(LibraryPath)</LibraryPath>
8385
</PropertyGroup>
8486
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
8587
<LinkIncremental>false</LinkIncremental>

XEngine_Apps/MQCore_TCPApp/MQCore_TCPApp.vcxproj

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,8 @@
8080
</PropertyGroup>
8181
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
8282
<LinkIncremental>true</LinkIncremental>
83+
<IncludePath>$(XEngine_Include);$(IncludePath)</IncludePath>
84+
<LibraryPath>$(XEngine_Lib64);$(LibraryPath)</LibraryPath>
8385
</PropertyGroup>
8486
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
8587
<LinkIncremental>false</LinkIncremental>
@@ -116,7 +118,7 @@
116118
<ClCompile>
117119
<WarningLevel>Level3</WarningLevel>
118120
<SDLCheck>true</SDLCheck>
119-
<PreprocessorDefinitions>_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
121+
<PreprocessorDefinitions>_DEBUG;_CONSOLE;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
120122
<ConformanceMode>true</ConformanceMode>
121123
</ClCompile>
122124
<Link>

XEngine_Apps/MQCore_WSApp/MQCore_WSApp.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,12 @@
55
#pragma comment(lib,"Ws2_32")
66
#pragma comment(lib,"XEngine_Client/XClient_Socket")
77
#pragma comment(lib,"XEngine_RfcComponents/RfcComponents_WSProtocol")
8+
#ifdef _WIN64
9+
#pragma comment(lib,"../../XEngine_Source/x64/Debug/jsoncpp")
10+
#else
811
#pragma comment(lib,"../../XEngine_Source/Debug/jsoncpp")
912
#endif
13+
#endif
1014
#include <stdio.h>
1115
#include <stdlib.h>
1216
#include <string.h>

XEngine_Apps/MQCore_WSApp/MQCore_WSApp.vcxproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,8 @@
8080
</PropertyGroup>
8181
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
8282
<LinkIncremental>true</LinkIncremental>
83+
<IncludePath>$(XEngine_Include);../../XEngine_Source/XEngine_Depend/XEngine_Module/jsoncpp;$(IncludePath)</IncludePath>
84+
<LibraryPath>$(XEngine_Lib64);$(LibraryPath)</LibraryPath>
8385
</PropertyGroup>
8486
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
8587
<LinkIncremental>false</LinkIncremental>

XEngine_Apps/VSCopy-x64.bat

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
copy /y "%XEngine_Lib64%\XEngine_BaseLib\XEngine_BaseLib.dll" "./"
2+
copy /y "%XEngine_Lib64%\XEngine_BaseLib\XEngine_Algorithm.dll" "./"
3+
copy /y "%XEngine_Lib64%\XEngine_Core\XEngine_Cryption.dll" "./"
4+
copy /y "%XEngine_Lib64%\XEngine_Core\XEngine_ManagePool.dll" "./"
5+
copy /y "%XEngine_Lib64%\XEngine_RfcComponents\RfcComponents_WSProtocol.dll" "./"
6+
copy /y "%XEngine_Lib64%\XEngine_Client\XClient_APIHelp.dll" "./"
7+
copy /y "%XEngine_Lib64%\XEngine_Client\XClient_Socket.dll" "./"

0 commit comments

Comments
 (0)