mirror of
https://github.com/celisej567/cool-source-archive.git
synced 2025-12-31 17:48:37 +03:00
restore original launcher
custom launcher is bad
This commit is contained in:
Binary file not shown.
Binary file not shown.
|
Before Width: | Height: | Size: 326 B |
File diff suppressed because it is too large
Load Diff
@@ -5,15 +5,9 @@
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
$Macro SRCDIR ".."
|
||||
$Macro OUTBINDIR "$SRCDIR\..\game"
|
||||
$Macro OUTBINDIR "$SRCDIR\..\game\bin"
|
||||
|
||||
$Include "$SRCDIR\vpc_scripts\source_exe_base.vpc"
|
||||
|
||||
// Must be built explicitly as "default" in order to build a compliant submittable Disc.
|
||||
// Renames will not work.
|
||||
$Macro OUTBINNAME "default"
|
||||
$Macro OUTBINNAME "hl2_osx" [$OSXALL]
|
||||
$Macro OUTBINNAME "hl2_linux" [$LINUXALL]
|
||||
$Include "$SRCDIR\vpc_scripts\source_dll_base.vpc"
|
||||
|
||||
$Configuration
|
||||
{
|
||||
@@ -23,40 +17,18 @@ $Configuration
|
||||
}
|
||||
$Compiler
|
||||
{
|
||||
//$PreprocessorDefinitions "$BASE;LAUNCHERONLY"
|
||||
$PreprocessorDefinitions "$BASE;fopen=dont_use_fopen"
|
||||
$ForceIncludes " "
|
||||
$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]
|
||||
$EnableLargeAddresses "Support Addresses Larger Than 2 Gigabytes (/LARGEADDRESSAWARE)" [$WIN32]
|
||||
$FixedBaseAddress "Generate a relocation section (/FIXED:NO)" [$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]
|
||||
}
|
||||
|
||||
|
||||
$PreBuildEvent [$WIN32]
|
||||
{
|
||||
$CommandLine "if EXIST $OUTBINDIR\coolsource.exe for /f $QUOTEdelims=$QUOTE %%A in ('attrib $QUOTE$OUTBINDIR\coolsource.exe$QUOTE') do set valveTmpIsReadOnly=$QUOTE%%A$QUOTE" "\n" \
|
||||
"set valveTmpIsReadOnlyLetter=%valveTmpIsReadOnly:~6,1%" "\n" \
|
||||
"if $QUOTE%valveTmpIsReadOnlyLetter%$QUOTE==$QUOTER$QUOTE del /q $QUOTE$(TargetDir)$QUOTE$(TargetFileName)" "\n" \
|
||||
"$CRCCHECK"
|
||||
}
|
||||
|
||||
$PostBuildEvent [$X360]
|
||||
{
|
||||
// inherit and add
|
||||
$CommandLine "$BASE" \
|
||||
"call $SRCDIR\vpc_scripts\valve_xbcp_wrapper.cmd $(TargetDir)$(TargetName).xex xE:\Valve\default.xex" "\n"
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
$Configuration "Debug"
|
||||
@@ -82,7 +54,6 @@ $Project "launcher"
|
||||
$File "$SRCDIR\public\filesystem_init.cpp"
|
||||
$File "launcher.cpp"
|
||||
$File "reslistgenerator.cpp"
|
||||
$File "launcher.rc"
|
||||
}
|
||||
|
||||
$Folder "Header Files"
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 326 B |
Binary file not shown.
|
Before Width: | Height: | Size: 4.2 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 29 KiB After Width: | Height: | Size: 113 KiB |
Reference in New Issue
Block a user