forked from ValveSoftware/Fossilize
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfossilize_replay.vpc
183 lines (169 loc) · 7.28 KB
/
fossilize_replay.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
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
//-----------------------------------------------------------------------------
// fossilize_layer.vpc
//
// Project Script
//-----------------------------------------------------------------------------
$macro SRCDIR "..\.."
$macro OUTBINDIR "$SRDIR\..\client"
$macro TARGETNAME "fossilize-replay" [$WIN32]
$macro TARGETNAME "fossilize-replay64" [$WIN64]
$macro OUTBINNAME "fossilize-replay" [$WIN32]
$macro OUTBINNAME "fossilize-replay64" [$WIN64]
$include "$SRCDIR\vpc_scripts\steam_exe_con_win32_base.vpc" [$WINDOWS]
$include "$SRCDIR\vpc_scripts\steam_exe_posix_base.vpc" [$POSIX]
$Configuration
{
$General
{
$OutputDirectory ".\$(TARGETNAME)$(Configuration)" [$WINDOWS]
$IntermediateDirectory ".\$(TARGETNAME)$(Configuration)" [$WINDOWS]
$OutputDirectory "$CLIENTBINDIR" [$POSIX]
}
}
$Configuration
{
$Compiler
{
$PreprocessorDefinitions "$BASE;NOMINMAX=1" [$WINDOWS]
$PreprocessorDefinitions "$BASE;DONT_WRAP_FILEIO;__STDC_FORMAT_MACROS" [$POSIX]
$PreprocessorDefinitions "$BASE;FOSSILIZE_REPLAYER_SPIRV_VAL" // enable spirv-tools validation
$AdditionalIncludeDirectories "$BASE;.\rapidjson\include"
$AdditionalIncludeDirectories "$BASE;.\khronos;.\khronos\vulkan"
$AdditionalIncludeDirectories "$BASE;.\cli\volk"
$AdditionalIncludeDirectories "$BASE;.\miniz"
$AdditionalIncludeDirectories "$BASE;.\cli\SPIRV-Headers\include\spirv\unified1"
$AdditionalIncludeDirectories "$BASE;.\cli\SPIRV-Headers\include"
$AdditionalIncludeDirectories "$BASE;.\cli\SPIRV-Tools\generated"
$AdditionalIncludeDirectories "$BASE;.\cli\SPIRV-Tools\include"
$AdditionalIncludeDirectories "$BASE;.\cli\SPIRV-Tools"
$AdditionalIncludeDirectories "$BASE;.\cli\dirent\include" [$WINDOWS]
$AdditionalIncludeDirectories "$BASE;..;."
$TreatWarningsAsErrors "false"
$AdditionalOptions "/std:c++17" // filesystem on Windows requires C++17
$WarningLevel "Level 2 (/W2)"
$GCC_ExtraCompilerFlags "$BASE -Wno-shadow" [$LINUXALL]
$GCC_ExtraCompilerFlags "$BASE -Wno-unused-variable" [$LINUXALL]
$GCC_ExtraCompilerFlags "$BASE -Wno-format" [$LINUXALL]
$GCC_ExtraCompilerFlags "$BASE -Wno-format-security" [$LINUXALL]
$DisableSpecificWarnings "$BASE;6313" [$ANALYZE] // Disable C6313: Incorrect operator: zero-valued flag cannot be tested with bitwise-and for rapidjson code
}
$Linker
{
$SystemLibraries "$BASE;pthread;rt" [$POSIX]
$OutputFile "$CLIENTBINDIR\fossilize_replay" [$POSIX]
}
}
$Project "fossilize_replay"
{
$Folder "Source Files"
{
$File ".\cli\fossilize_replay.cpp"
}
$Folder "Header Files"
{
}
$Folder "cli-utils"
{
$File ".\cli\cli_parser.cpp"
$File ".\cli\cli_parser.hpp"
$File ".\cli\device.cpp"
$File ".\cli\device.hpp"
$File ".\cli\file.cpp"
$File ".\cli\file.hpp"
$File ".\cli\fossilize_feature_filter.cpp"
$File ".\cli\fossilize_feature_filter.hpp"
}
$Folder "volk"
{
$File ".\cli\volk\volk.c"
$File ".\cli\volk\volk.h"
}
$Folder "fossilize"
{
$File ".\fossilize.cpp"
$File ".\fossilize_application_filter.cpp"
$File ".\fossilize_db.cpp"
$File ".\fossilize_external_replayer.cpp"
$File ".\path.cpp"
$File ".\varint.cpp"
$File ".\fossilize.hpp"
$File ".\fossilize_db.hpp"
$File ".\fossilize_external_replayer.hpp"
$File ".\path.hpp"
$File ".\varint.hpp"
}
$Folder "miniz"
{
$File ".\miniz\miniz.c"
$File ".\miniz\miniz.h"
}
$Folder "SPIRV-Tools"
{
$File ".\cli\SPIRV-Tools\source\util\bit_vector.cpp"
$File ".\cli\SPIRV-Tools\source\util\parse_number.cpp"
$File ".\cli\SPIRV-Tools\source\util\string_utils.cpp"
$File ".\cli\SPIRV-Tools\source\assembly_grammar.cpp"
$File ".\cli\SPIRV-Tools\source\binary.cpp"
$File ".\cli\SPIRV-Tools\source\diagnostic.cpp"
$File ".\cli\SPIRV-Tools\source\disassemble.cpp"
$File ".\cli\SPIRV-Tools\source\enum_string_mapping.cpp"
$File ".\cli\SPIRV-Tools\source\ext_inst.cpp"
$File ".\cli\SPIRV-Tools\source\extensions.cpp"
$File ".\cli\SPIRV-Tools\source\libspirv.cpp"
$File ".\cli\SPIRV-Tools\source\name_mapper.cpp"
$File ".\cli\SPIRV-Tools\source\opcode.cpp"
$File ".\cli\SPIRV-Tools\source\operand.cpp"
$File ".\cli\SPIRV-Tools\source\parsed_operand.cpp"
$File ".\cli\SPIRV-Tools\source\print.cpp"
$File ".\cli\SPIRV-Tools\source\software_version.cpp"
$File ".\cli\SPIRV-Tools\source\spirv_endian.cpp"
$File ".\cli\SPIRV-Tools\source\spirv_fuzzer_options.cpp"
$File ".\cli\SPIRV-Tools\source\spirv_optimizer_options.cpp"
$File ".\cli\SPIRV-Tools\source\spirv_reducer_options.cpp"
$File ".\cli\SPIRV-Tools\source\spirv_target_env.cpp"
$File ".\cli\SPIRV-Tools\source\spirv_validator_options.cpp"
$File ".\cli\SPIRV-Tools\source\table.cpp"
$File ".\cli\SPIRV-Tools\source\text.cpp"
$File ".\cli\SPIRV-Tools\source\text_handler.cpp"
$File ".\cli\SPIRV-Tools\source\val\validate.cpp"
$File ".\cli\SPIRV-Tools\source\val\validate_adjacency.cpp"
$File ".\cli\SPIRV-Tools\source\val\validate_annotation.cpp"
$File ".\cli\SPIRV-Tools\source\val\validate_arithmetics.cpp"
$File ".\cli\SPIRV-Tools\source\val\validate_atomics.cpp"
$File ".\cli\SPIRV-Tools\source\val\validate_barriers.cpp"
$File ".\cli\SPIRV-Tools\source\val\validate_bitwise.cpp"
$File ".\cli\SPIRV-Tools\source\val\validate_builtins.cpp"
$File ".\cli\SPIRV-Tools\source\val\validate_capability.cpp"
$File ".\cli\SPIRV-Tools\source\val\validate_cfg.cpp"
$File ".\cli\SPIRV-Tools\source\val\validate_composites.cpp"
$File ".\cli\SPIRV-Tools\source\val\validate_constants.cpp"
$File ".\cli\SPIRV-Tools\source\val\validate_conversion.cpp"
$File ".\cli\SPIRV-Tools\source\val\validate_debug.cpp"
$File ".\cli\SPIRV-Tools\source\val\validate_decorations.cpp"
$File ".\cli\SPIRV-Tools\source\val\validate_derivatives.cpp"
$File ".\cli\SPIRV-Tools\source\val\validate_extensions.cpp"
$File ".\cli\SPIRV-Tools\source\val\validate_execution_limitations.cpp"
$File ".\cli\SPIRV-Tools\source\val\validate_function.cpp"
$File ".\cli\SPIRV-Tools\source\val\validate_id.cpp"
$File ".\cli\SPIRV-Tools\source\val\validate_image.cpp"
$File ".\cli\SPIRV-Tools\source\val\validate_interfaces.cpp"
$File ".\cli\SPIRV-Tools\source\val\validate_instruction.cpp"
$File ".\cli\SPIRV-Tools\source\val\validate_layout.cpp"
$File ".\cli\SPIRV-Tools\source\val\validate_literals.cpp"
$File ".\cli\SPIRV-Tools\source\val\validate_logicals.cpp"
$File ".\cli\SPIRV-Tools\source\val\validate_memory.cpp"
$File ".\cli\SPIRV-Tools\source\val\validate_memory_semantics.cpp"
$File ".\cli\SPIRV-Tools\source\val\validate_misc.cpp"
$File ".\cli\SPIRV-Tools\source\val\validate_mode_setting.cpp"
$File ".\cli\SPIRV-Tools\source\val\validate_non_uniform.cpp"
$File ".\cli\SPIRV-Tools\source\val\validate_primitives.cpp"
$File ".\cli\SPIRV-Tools\source\val\validate_scopes.cpp"
$File ".\cli\SPIRV-Tools\source\val\validate_small_type_uses.cpp"
$File ".\cli\SPIRV-Tools\source\val\validate_type.cpp"
$File ".\cli\SPIRV-Tools\source\val\basic_block.cpp"
$File ".\cli\SPIRV-Tools\source\val\construct.cpp"
$File ".\cli\SPIRV-Tools\source\val\function.cpp"
$File ".\cli\SPIRV-Tools\source\val\instruction.cpp"
$File ".\cli\SPIRV-Tools\source\val\validation_state.cpp"
}
}