diff options
| author | Jørgen P. Tjernø <[email protected]> | 2013-12-02 19:31:46 -0800 |
|---|---|---|
| committer | Jørgen P. Tjernø <[email protected]> | 2013-12-02 19:46:31 -0800 |
| commit | f56bb35301836e56582a575a75864392a0177875 (patch) | |
| tree | de61ddd39de3e7df52759711950b4c288592f0dc /mp/src/vpc_scripts/source_exe_linux_base.vpc | |
| parent | Mark some more files as text. (diff) | |
| download | source-sdk-2013-f56bb35301836e56582a575a75864392a0177875.tar.xz source-sdk-2013-f56bb35301836e56582a575a75864392a0177875.zip | |
Fix line endings. WHAMMY.
Diffstat (limited to 'mp/src/vpc_scripts/source_exe_linux_base.vpc')
| -rw-r--r-- | mp/src/vpc_scripts/source_exe_linux_base.vpc | 114 |
1 files changed, 57 insertions, 57 deletions
diff --git a/mp/src/vpc_scripts/source_exe_linux_base.vpc b/mp/src/vpc_scripts/source_exe_linux_base.vpc index 44ffa8e7..483fa7ab 100644 --- a/mp/src/vpc_scripts/source_exe_linux_base.vpc +++ b/mp/src/vpc_scripts/source_exe_linux_base.vpc @@ -1,57 +1,57 @@ -//-----------------------------------------------------------------------------
-// SOURCE_EXE_WIN_WIN32.VPC
-//
-// Base Settings for Source(TM) Projects
-//-----------------------------------------------------------------------------
-
-$Include "$SRCDIR\vpc_scripts\version.vpc"
-
-$MacroRequired "SRCDIR"
-$MacroRequired "OUTBINNAME" "$PROJECTNAME"
-$MacroRequired "OUTBINDIR"
-$Macro IS_LIB_PROJECT "1"
-
-$Include "$SRCDIR\vpc_scripts\source_linux_base_project.vpc"
-
-
-$Project
-{
- $Folder "Source Files"
- {
- $File "$SRCDIR\public\tier0\memoverride.cpp"
- {
- $Configuration
- {
- $Compiler
- {
- $Create/UsePrecompiledHeader "Not Using Precompiled Headers"
- }
- }
- }
- }
-
- $Folder "Link Libraries" [$CLANG]
- {
- $File "$SRCDIR/thirdparty/gperftools-2.0/.libs/libtcmalloc_minimal.so"
- }
-}
-
-$Configuration
-{
- $General
- {
- $GameOutputFile "$OUTBINDIR/$OUTBINNAME"
-
- }
-
- $Linker
- {
- $OutputFile "$OUTBINDIR/$OUTBINNAME"
- // In order to get the Valve standard allocator memory alignment (16-byte
- // alignment for objects that are a multiple of 16 bytes) we use tcmalloc.
- // Using -l will ask the linker to use it, but if there are no references to
- // malloc/free then it may not actually use it. Wrapping the flag in the
- // as-needed controls forces it to be pulled in.
- $GCC_ExtraLinkerFlags "-Wl,--no-as-needed -ltcmalloc_minimal -Wl,--as-needed" [$CLANG]
- }
-}
+//----------------------------------------------------------------------------- +// SOURCE_EXE_WIN_WIN32.VPC +// +// Base Settings for Source(TM) Projects +//----------------------------------------------------------------------------- + +$Include "$SRCDIR\vpc_scripts\version.vpc" + +$MacroRequired "SRCDIR" +$MacroRequired "OUTBINNAME" "$PROJECTNAME" +$MacroRequired "OUTBINDIR" +$Macro IS_LIB_PROJECT "1" + +$Include "$SRCDIR\vpc_scripts\source_linux_base_project.vpc" + + +$Project +{ + $Folder "Source Files" + { + $File "$SRCDIR\public\tier0\memoverride.cpp" + { + $Configuration + { + $Compiler + { + $Create/UsePrecompiledHeader "Not Using Precompiled Headers" + } + } + } + } + + $Folder "Link Libraries" [$CLANG] + { + $File "$SRCDIR/thirdparty/gperftools-2.0/.libs/libtcmalloc_minimal.so" + } +} + +$Configuration +{ + $General + { + $GameOutputFile "$OUTBINDIR/$OUTBINNAME" + + } + + $Linker + { + $OutputFile "$OUTBINDIR/$OUTBINNAME" + // In order to get the Valve standard allocator memory alignment (16-byte + // alignment for objects that are a multiple of 16 bytes) we use tcmalloc. + // Using -l will ask the linker to use it, but if there are no references to + // malloc/free then it may not actually use it. Wrapping the flag in the + // as-needed controls forces it to be pulled in. + $GCC_ExtraLinkerFlags "-Wl,--no-as-needed -ltcmalloc_minimal -Wl,--as-needed" [$CLANG] + } +} |