summaryrefslogtreecommitdiff
path: root/utils/vpk/vpk.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 /utils/vpk/vpk.vpc
downloadarchived-source-engine-2018-hl2-src-master.tar.xz
archived-source-engine-2018-hl2-src-master.zip
Diffstat (limited to 'utils/vpk/vpk.vpc')
-rw-r--r--utils/vpk/vpk.vpc65
1 files changed, 65 insertions, 0 deletions
diff --git a/utils/vpk/vpk.vpc b/utils/vpk/vpk.vpc
new file mode 100644
index 0000000..35ffbd9
--- /dev/null
+++ b/utils/vpk/vpk.vpc
@@ -0,0 +1,65 @@
+//-----------------------------------------------------------------------------
+// VPK.VPC
+//
+// Project Script
+//-----------------------------------------------------------------------------
+
+$Macro SRCDIR "..\.."
+$Macro OUTBINDIR "$SRCDIR\..\game\bin"
+$Macro OUTBINNAME "bin\vpk_$PLATFORM" [$LINUXALL||$OSXALL]
+
+$Include "$SRCDIR\vpc_scripts\source_exe_con_base.vpc"
+$include "$SRCDIR\vpc_scripts\source_cryptlib_include.vpc"
+
+$Configuration
+{
+ $Linker
+ {
+ $SystemLibraries "iconv" [$OSXALL]
+ $SystemFrameworks "Carbon" [$OSXALL]
+ // I'm not sure why this is set in source_dll_win32_debug/release.vpc but not for
+ // the corresponding .exe VPC files. vpk now needs this for cryptlib.
+ $AdditionalLibraryDirectories "$LIBCOMMON;$LIBPUBLIC"
+ }
+
+}
+
+$Configuration "Debug"
+{
+ $Compiler
+ {
+ $AdditionalIncludeDirectories "$BASE,..\common"
+ }
+
+ $Linker
+ {
+ $DebuggableAssembly "Runtime tracking and disable optimizations (/ASSEMBLYDEBUG)"
+ }
+}
+
+$Configuration "Release"
+{
+ $Compiler
+ {
+ $AdditionalIncludeDirectories "$BASE,..\common"
+ }
+}
+
+$Project "Vpk"
+{
+ $Folder "Source Files"
+ {
+ $File "packtest.cpp"
+ }
+
+ $Folder "Link Libraries" [$WIN32 || $POSIX]
+ {
+ $Lib bitmap
+ $Lib mathlib
+ $Lib tier2
+ $Implib tier0 [$POSIX]
+ $Lib tier1 [$POSIX]
+ $Implib vstdlib [$POSIX]
+ }
+}
+