summaryrefslogtreecommitdiff
path: root/game/shared/schema_tf.vpc
diff options
context:
space:
mode:
authorFluorescentCIAAfricanAmerican <[email protected]>2020-04-22 12:56:21 -0400
committerFluorescentCIAAfricanAmerican <[email protected]>2020-04-22 12:56:21 -0400
commit3bf9df6b2785fa6d951086978a3e66f49427166a (patch)
tree2c0f1f0c63c4832882bc93814ebd2c2b1c6224e5 /game/shared/schema_tf.vpc
downloadarchived-source-engine-2018-hl2-src-master.tar.xz
archived-source-engine-2018-hl2-src-master.zip
Diffstat (limited to 'game/shared/schema_tf.vpc')
-rw-r--r--game/shared/schema_tf.vpc54
1 files changed, 54 insertions, 0 deletions
diff --git a/game/shared/schema_tf.vpc b/game/shared/schema_tf.vpc
new file mode 100644
index 0000000..804057e
--- /dev/null
+++ b/game/shared/schema_tf.vpc
@@ -0,0 +1,54 @@
+
+//-----------------------------------------------------------------------------
+// STEAMSCHEMA.VPC
+//
+// Project Script
+//-----------------------------------------------------------------------------
+
+$macro SRCDIR "..\.."
+$Macro OUTLIBDIR "$SRCDIR\lib\game\tf"
+$macro $_STATICLIB_EXT ".lib"
+
+$include "$SRCDIR\vpc_scripts\source_lib_base.vpc"
+
+$Configuration
+{
+ $PreBuildEvent [$WIN32]
+ {
+ $CommandLine "call $SRCDIR\vpc_scripts\valve_p4_edit.cmd $SRCDIR\game\shared\tf\schema_tf.h $SRCDIR" "\n" \
+ "call $SRCDIR\vpc_scripts\valve_p4_edit.cmd $SRCDIR\game\shared\tf\schema_tf.cpp $SRCDIR" "\n" \
+ "$BASE"
+ }
+}
+
+$Project "schema (TF)"
+{
+ $File "gc\base_gcschema.sch"
+ {
+ $Configuration
+ {
+ $ExcludedFromBuild "Yes"
+ }
+ }
+ $File "econ\econ_gcschema.sch"
+ {
+ $Configuration
+ {
+ $ExcludedFromBuild "Yes"
+ }
+ }
+ $File "tf\schema_tf.sch"
+ {
+ $Configuration
+ {
+ $CustomBuildStep
+ {
+ $Description "Running SchemaCompiler..."
+ $CommandLine "$SRCDIR\gcsdk\bin\schemacompiler.exe tf\schema_tf.sch tf\schema_tf.cpp tf\schema_tf.h"
+ $Outputs "tf\schema_tf.h;tf\schema_tf.cpp"
+ $AdditionalDependencies "..\..\bin\schemacompiler.exe"
+ }
+ }
+ }
+}
+