-
Notifications
You must be signed in to change notification settings - Fork 270
/
Copy pathgcsdk_game.vpc
159 lines (149 loc) · 4.38 KB
/
gcsdk_game.vpc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
//-----------------------------------------------------------------------------
// GCSDK.VPC
//
// Project Script for the Game Coordinator SDK
//-----------------------------------------------------------------------------
$macro SRCDIR ".."
$Macro GENERATED_PROTO_DIR "$SRCDIR\gcsdk\generated_proto"
$include "$SRCDIR\vpc_scripts\source_lib_base.vpc"
$include "$SRCDIR\vpc_scripts\protobuf_builder.vpc"
$include "$SRCDIR\gcsdk\steammessages_include.vpc"
$include "$SRCDIR\gcsdk\gcsdk_gcmessages_include.vpc"
$Configuration
{
$Compiler
{
//$PreprocessorDefinitions "$BASE;STEAM"
$AdditionalIncludeDirectories "$BASE;$SRCDIR\gcsdk\steamextra;..;..\public;..\public\gcsdk;$SRCDIR\thirdparty\JSON_parser;."
$PreprocessorDefinitions "$BASE;TF" // Some steamextra files have tweaks unfortunately
$Create/UsePrecompiledHeader "Use Precompiled Header (/Yu)"
$AdditionalOptions "$BASE /YlGCSDK_PCH_Symbol"
}
}
$Project "gcsdk"
{
$Folder "Source Files"
{
$File "stdafx.cpp"
{
$Configuration
{
$Compiler
{
$Create/UsePrecompiledHeader "Create Precompiled Header (/Yc)"
// Generate a bogus symbol to fix the PCH "no debug symbols" warning
//$AdditionalOptions "$BASE /YlBogusGCSDKSymbol"
}
}
}
// turn off the debug check for the debug build
$File "$SRCDIR\common\debug_lib_check.cpp"
{
$Configuration "Debug"
{
$ExcludedFromBuild "Yes"
}
}
$File "gcclient.cpp"
$File "gcconstants.cpp"
$File "gclogger.cpp"
$File "gcmsg.cpp"
$File "job.cpp"
$File "jobmgr.cpp"
$File "jobtime.cpp"
$File "messagelist.cpp"
$File "msgprotobuf.cpp"
$File "netpacket.cpp"
$File "netpacketpool.cpp"
$File "protobufsharedobject.cpp"
$File "sharedobject.cpp"
$File "sharedobjectcache.cpp"
$File "gcclient_sharedobjectcache.cpp"
$File "steamextra\misc.cpp"
$File "steamextra\rtime.cpp"
$File "steamextra\steamid.cpp"
{
// Needs to #define something prior to including the PCH
$Configuration
{
$Compiler
{
$Create/UsePrecompiledHeader "Not Using Precompiled Headers"
}
}
}
$File "steamextra\tier1\hashglobals.cpp"
$File "steamextra\tier1\tsmempool.cpp"
$File "steamextra\tier1\tsmultimempool.cpp"
$File "workthreadpool.cpp"
$File "webapi_response.cpp"
{
$Configuration
{
$Compiler
{
$Create/UsePrecompiledHeader "Not Using Precompiled Headers"
}
}
}
}
$Folder "Header Files"
{
$File "stdafx.h"
$File "$SRCDIR\public\gcsdk\enumutils.h"
$File "$SRCDIR\public\gcsdk\gcclient.h"
$File "$SRCDIR\public\gcsdk\gcclientsdk.h"
$File "$SRCDIR\public\gcsdk\gcconstants.h"
$File "$SRCDIR\public\gcsdk\gclogger.h"
$File "$SRCDIR\public\gcsdk\gcclientjob.h"
$File "$SRCDIR\public\gcsdk\gcmsg.h"
$File "$SRCDIR\public\gcsdk\gcsdk.h"
$File "$SRCDIR\public\gcsdk\gcschema.h"
$File "$SRCDIR\public\gcsdk\gcsession.h"
$File "$SRCDIR\public\gcsdk\gcsystemmsgs.h"
$File "$SRCDIR\public\gcsdk\job.h"
$File "$SRCDIR\public\gcsdk\jobmgr.h"
$File "$SRCDIR\public\gcsdk\jobtime.h"
$File "$SRCDIR\public\gcsdk\messagelist.h"
$File "$SRCDIR\public\gcsdk\msgbase.h"
$File "$SRCDIR\public\gcsdk\netpacket.h"
$File "$SRCDIR\public\gcsdk\msgprotobuf.h"
$File "$SRCDIR\public\gcsdk\netpacketpool.h"
$File "$SRCDIR\public\gcsdk\protobufsharedobject.h"
$File "$SRCDIR\public\gcsdk\refcount.h"
$File "$SRCDIR\public\gcsdk\sharedobject.h"
$File "$SRCDIR\public\gcsdk\sharedobjectcache.h"
$File "$SRCDIR\public\gcsdk\gcclient_sharedobjectcache.h"
$File "$SRCDIR\public\gcsdk\workthreadpool.h"
$File "steamextra\clientenums.h"
$File "steamextra\misc.h"
$File "steamextra\rtime.h"
$File "steamextra\gamecoordinator\igamecoordinator.h"
$File "steamextra\gamecoordinator\igamecoordinatorhost.h"
$File "steamextra\gamecoordinator\igcsqlquery.h"
$File "steamextra\gamecoordinator\igcsqlresultsetlist.h"
$File "steamextra\steam\isteamgamecoordinator.h"
$File "steamextra\tier0\t0constants.h"
$File "steamextra\tier1\pearsonshash.h"
$File "steamextra\tier1\tsmempool.h"
$File "steamextra\tier1\tsmultimempool.h"
}
$Folder "Protobuf Files"
{
$File "gcsystemmsgs.proto"
$Folder "Generated Files"
{
$DynamicFile "$GENERATED_PROTO_DIR/gcsystemmsgs.pb.h"
$DynamicFile "$GENERATED_PROTO_DIR/gcsystemmsgs.pb.cc"
{
$Configuration
{
$Compiler
{
$Create/UsePrecompiledHeader "Not Using Precompiled Headers"
}
}
}
}
}
}