summaryrefslogtreecommitdiff
path: root/launcher/launcher.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 /launcher/launcher.vpc
downloadarchived-source-engine-2018-hl2-src-master.tar.xz
archived-source-engine-2018-hl2-src-master.zip
Diffstat (limited to 'launcher/launcher.vpc')
-rw-r--r--launcher/launcher.vpc100
1 files changed, 100 insertions, 0 deletions
diff --git a/launcher/launcher.vpc b/launcher/launcher.vpc
new file mode 100644
index 0000000..f3754b7
--- /dev/null
+++ b/launcher/launcher.vpc
@@ -0,0 +1,100 @@
+//-----------------------------------------------------------------------------
+// LAUNCHER.VPC
+//
+// Project Script
+//-----------------------------------------------------------------------------
+
+$Macro SRCDIR ".."
+$Macro OUTBINDIR "$SRCDIR\..\game\bin"
+
+$Include "$SRCDIR\vpc_scripts\source_dll_base.vpc"
+
+$Configuration
+{
+ $General
+ {
+ $AdditionalProjectDependencies "$BASE;togl" [$OSXALL]
+ }
+ $Compiler
+ {
+ $PreprocessorDefinitions "$BASE;LAUNCHERONLY"
+ }
+
+ $Linker
+ {
+ $AdditionalDependencies "$BASE shlwapi.lib winmm.lib wsock32.lib odbc32.lib odbccp32.lib $SRCDIR\dx9sdk\lib\dinput8.lib $SRCDIR\dx9sdk\lib\ddraw.lib" [$WIN32]
+ $SystemLibraries "iconv" [$OSXALL]
+ $SystemFrameworks "Carbon;AppKit;OpenGL;IOKit" [$OSXALL]
+ // We run from the ./game dir, but want to look in the ./game/bin directory when loading libraries.
+ // To dump rpath/runpath of a library, use "chrpath --list blah.so" or "objdump -x blah.so" or "readelf -d bin/launcher.so"
+ $GCC_ExtraLinkerFlags "-Wl,--enable-new-dtags -Wl,-z,origin -Wl,-rpath,'$$ORIGIN' -L/usr/lib32 -L/usr/lib" [$LINUXALL]
+ }
+}
+
+$Configuration "Debug"
+{
+ $Linker
+ {
+ $AdditionalDependencies "$BASE Xonlined.lib" [$X360]
+ }
+}
+
+$Configuration "Release"
+{
+ $Linker
+ {
+ $AdditionalDependencies "$BASE Xonline.lib" [$X360]
+ }
+}
+
+$Project "launcher"
+{
+ $Folder "Source Files"
+ {
+ $File "$SRCDIR\public\filesystem_init.cpp"
+ $File "launcher.cpp"
+ $File "reslistgenerator.cpp"
+ }
+
+ $Folder "Header Files"
+ {
+ $File "$SRCDIR\public\tier0\basetypes.h"
+ $File "$SRCDIR\public\tier0\commonmacros.h"
+ $File "$SRCDIR\public\tier0\dbg.h"
+ $File "$SRCDIR\common\engine_launcher_api.h"
+ $File "$SRCDIR\public\tier0\fasttimer.h"
+ $File "$SRCDIR\public\appframework\IAppSystem.h"
+ $File "$SRCDIR\public\tier0\icommandline.h"
+ $File "ifilesystem.h"
+ $File "$SRCDIR\public\vgui\IHTML.h"
+ $File "$SRCDIR\public\vgui\IImage.h"
+ $File "$SRCDIR\public\tier1\interface.h"
+ $File "$SRCDIR\public\vgui\ISurface.h"
+ $File "$SRCDIR\public\vgui\KeyCode.h"
+ $File "$SRCDIR\public\tier0\mem.h"
+ $File "$SRCDIR\public\tier0\memalloc.h"
+ $File "$SRCDIR\public\vgui\MouseCode.h"
+ $File "$SRCDIR\public\tier0\platform.h"
+ $File "$SRCDIR\public\tier0\protected_things.h"
+ $File "reslistgenerator.h"
+ $File "$SRCDIR\public\string_t.h"
+ $File "$SRCDIR\public\tier1\strtools.h"
+ $File "$SRCDIR\public\tier0\vcr_shared.h"
+ $File "$SRCDIR\public\tier0\vcrmode.h"
+ $File "$SRCDIR\public\mathlib\vector2d.h"
+ $File "$SRCDIR\public\vgui\VGUI.h"
+ $File "$SRCDIR\public\vstdlib\vstdlib.h"
+ }
+
+ $folder "Link Libraries"
+ {
+ $Lib appframework
+ $Lib tier2
+ $Lib tier3
+ $Implib steam_api
+ $ImpLib togl [!$IS_LIB_PROJECT && $GL]
+ $ImpLib SDL2 [$SDL]
+ }
+
+}
+