aboutsummaryrefslogtreecommitdiff
path: root/sp/src/vpc_scripts/source_dll_posix_base.vpc
blob: d57374ca74ca7d705879dfae8b51b21630a4913a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
$Include "$SRCDIR\vpc_scripts\version.vpc"
$Include "$SRCDIR\vpc_scripts\source_posix_base.vpc"


$MacroRequired	 "OUTBINNAME"	"$PROJECTNAME"
$MacroRequired	 "OUTBINDIR"	"$SRCDIR\..\game\bin"


// General configuration info.
$Configuration
{
	$General
	{
		$ConfigurationType				"Dynamic Library (.dll)"
		$GameOutputFile					"$OUTBINDIR/$OUTBINNAME$OUTDLLEXT"
	}

	$Compiler
	{
		$PreprocessorDefinitions		"$BASE;DLLNAME=$OUTBINNAME"
	}

	$Linker
	{
		$OutputFile					"$(OBJ_DIR)/$OUTBINNAME$OUTDLLEXT"
	}
}

// Skeleton Project - All derived projects get this as a starting base
$Project
{
	$Folder	"Source Files"
	{
		$File	"$SRCDIR\public\tier0\memoverride.cpp"
		{
			$Configuration
			{
				$Compiler
				{
					$Create/UsePrecompiledHeader	"Not Using Precompiled Headers"
				}
			}
		}
	}

	$Folder "Resources"
	{
		$File	"$ROOTSCRIPT"
	}
}