aboutsummaryrefslogtreecommitdiff
path: root/mp/src/game/protobuf_include.vpc
blob: 6b21fb6a83469e4b89e8bbe43054717283cb0db4 (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
//-----------------------------------------------------------------------------
//	protobuf_include.vpc
//
//	Project Script
//-----------------------------------------------------------------------------

$MacroRequired "PLATFORM"

$macro VSLIBDIR  "." [!$VS2010]
$macro VSLIBDIR  "VS2010" [$VS2010]

$Project
{
	$Folder "Libraries"
	{
		// Always use the release version of libprotobuf.lib because the debug
		// version uses iterator debugging, which is incompatible with the rest of
		// the Valve world.
		$File "$SRCDIR\lib\$PLATFORM\release\$VSLIBDIR\libprotobuf.lib" [$WINDOWS && $VS2010]
		$File "$SRCDIR\lib\$PLATFORM\release\$VSLIBDIR\libprotobuf.lib" [$WINDOWS && !$VS2010]
		{
			$Configuration "Debug" { $ExcludedFromBuild	"Yes" }
		}
		$File "$SRCDIR\lib\$PLATFORM\debug\$VSLIBDIR\libprotobuf.lib" [$WINDOWS && !$VS2010]
		{
			$Configuration "Release" { $ExcludedFromBuild "Yes" }
		}
		$File "$SRCDIR\lib\$PLATFORM\release\libprotobuf.a"         [$POSIX]
	}
}