summaryrefslogtreecommitdiff
path: root/game/shared/gcschema_portal.vpc
diff options
context:
space:
mode:
Diffstat (limited to 'game/shared/gcschema_portal.vpc')
-rw-r--r--game/shared/gcschema_portal.vpc40
1 files changed, 40 insertions, 0 deletions
diff --git a/game/shared/gcschema_portal.vpc b/game/shared/gcschema_portal.vpc
new file mode 100644
index 0000000..cbdd64d
--- /dev/null
+++ b/game/shared/gcschema_portal.vpc
@@ -0,0 +1,40 @@
+
+//-----------------------------------------------------------------------------
+// GCSCHEMA_PORTAL.VPC
+//
+// Project Script
+//-----------------------------------------------------------------------------
+
+$macro SRCDIR "..\.."
+$Macro OUTLIBDIR "$SRCDIR\lib\game\portal"
+$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\portal\portal_gcschema.h $SRCDIR" "\n" \
+ "call $SRCDIR\vpc_scripts\valve_p4_edit.cmd $SRCDIR\game\shared\portal\portal_gcschema.cpp $SRCDIR" "\n" \
+ "$BASE"
+ }
+}
+
+$Project "schema (PORTAL)"
+{
+ $File "portal\portal_gcschema.sch"
+ {
+ $Configuration
+ {
+ $CustomBuildStep
+ {
+ $Description "Running SchemaCompiler..."
+ $CommandLine "$SRCDIR\gcsdk\bin\schemacompiler.exe portal\portal_gcschema.sch portal\portal_gcschema.cpp portal\portal_gcschema.h"
+ $Outputs "portal\portal_gcschema.h;portal\portal_gcschema.cpp"
+ $AdditionalDependencies "..\..\bin\schemacompiler.exe"
+ }
+ }
+ }
+}
+