Skip to content

Commit 786b2c3

Browse files
committed
support:windows x64 debug compile...
1 parent 8d110e7 commit 786b2c3

File tree

6 files changed

+6
-22
lines changed

6 files changed

+6
-22
lines changed

XEngine_Source/StorageModule_APIHelp/StorageModule_APIHelp.vcxproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
</PropertyGroup>
8383
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
8484
<LinkIncremental>true</LinkIncremental>
85-
<IncludePath>$(XEngine_Include);$(IncludePath)</IncludePath>
85+
<IncludePath>$(XEngine_Include);../XEngine_ThirdPart/jsoncpp;$(IncludePath)</IncludePath>
8686
<LibraryPath>$(XEngine_Lib64);$(LibraryPath)</LibraryPath>
8787
</PropertyGroup>
8888
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">

XEngine_Source/StorageModule_APIHelp/pch.h

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,8 @@
1111
// 添加要在此处预编译的标头
1212
#include "framework.h"
1313
#include <tchar.h>
14-
#include <json/json.h>
1514
#include <WinSock2.h>
1615
#else
17-
#ifdef _CENTOS
18-
#include <json/json.h>
19-
#else
20-
#include <jsoncpp/json/json.h>
21-
#endif
2216
#include <sys/types.h>
2317
#include <sys/stat.h>
2418
#include <unistd.h>
@@ -28,6 +22,7 @@
2822
#include <list>
2923
#include <string>
3024
#include <memory>
25+
#include <json/json.h>
3126
using namespace std;
3227
#include <XEngine_Include/XEngine_CommHdr.h>
3328
#include <XEngine_Include/XEngine_Types.h>

XEngine_Source/StorageModule_Config/StorageModule_Config.vcxproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181
</PropertyGroup>
8282
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
8383
<LinkIncremental>true</LinkIncremental>
84-
<IncludePath>$(XEngine_Include);$(IncludePath)</IncludePath>
84+
<IncludePath>$(XEngine_Include);../XEngine_ThirdPart/jsoncpp;$(IncludePath)</IncludePath>
8585
</PropertyGroup>
8686
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
8787
<LinkIncremental>false</LinkIncremental>

XEngine_Source/StorageModule_Config/pch.h

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,6 @@
1111
// 添加要在此处预编译的标头
1212
#include "framework.h"
1313
#include <tchar.h>
14-
#include <json/json.h>
15-
#else
16-
#ifdef _CENTOS
17-
#include <json/json.h>
18-
#else
19-
#include <jsoncpp/json/json.h>
20-
#endif
2114
#endif
2215
#endif //PCH_H
2316
#include <stdio.h>
@@ -27,6 +20,7 @@
2720
#include <memory>
2821
#include <list>
2922
#include <unordered_map>
23+
#include <json/json.h>
3024
using namespace std;
3125
#include <XEngine_Include/XEngine_CommHdr.h>
3226
#include <XEngine_Include/XEngine_Types.h>

XEngine_Source/StorageModule_Protocol/StorageModule_Protocol.vcxproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
</PropertyGroup>
8383
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
8484
<LinkIncremental>true</LinkIncremental>
85-
<IncludePath>$(XEngine_Include);$(IncludePath)</IncludePath>
85+
<IncludePath>$(XEngine_Include);../XEngine_ThirdPart/jsoncpp;$(IncludePath)</IncludePath>
8686
<LibraryPath>$(XEngine_Lib64);$(LibraryPath)</LibraryPath>
8787
</PropertyGroup>
8888
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">

XEngine_Source/StorageModule_Protocol/pch.h

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
#include <stdlib.h>
1414
#include <tchar.h>
1515
#include <time.h>
16-
#include <json/json.h>
1716
#else
1817
#include <stdio.h>
1918
#include <stdlib.h>
@@ -23,13 +22,9 @@
2322
#include <sys/socket.h>
2423
#include <netinet/in.h>
2524
#include <arpa/inet.h>
26-
#ifdef _CENTOS
27-
#include <json/json.h>
28-
#else
29-
#include <jsoncpp/json/json.h>
30-
#endif
3125
#endif
3226
#endif //PCH_H
27+
#include <json/json.h>
3328
#include <list>
3429
#include <unordered_map>
3530
using namespace std;

0 commit comments

Comments
 (0)