-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathluaplugin.vpc
More file actions
42 lines (36 loc) · 967 Bytes
/
luaplugin.vpc
File metadata and controls
42 lines (36 loc) · 967 Bytes
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
//-----------------------------------------------------------------------------
// luaplugin.VPC
//
// Project Script
//-----------------------------------------------------------------------------
$Macro SRCDIR "..\.."
$Macro OUTBINDIR "$SRCDIR\..\game\bin"
$Include "$SRCDIR\vpc_scripts\source_dll_base.vpc"
$Configuration
{
$Compiler
{
$AdditionalIncludeDirectories "$BASE,$SRCDIR\game\server,$SRCDIR\game\shared,$SRCDIR\utils\luaplugin\src,$SRCDIR\utils\luaplugin\lua\src"
// TODO: we need to build lua with the source engine things
$PreprocessorDefinitions "$BASE;GAME_DLL;_MBCS"
}
}
$Project "luaplugin"
{
$Folder "Source Files"
{
$File "src\luacontext.cpp"
$File "src\main.cpp"
$File "src\interfaces.cpp"
$File "src\features\hook.cpp"
$File "src\features\keyvalues.cpp"
$File "src\features\luabaseentity.cpp"
$File "src\features\servertools.cpp"
}
$Folder "Link Libraries"
{
$Lib mathlib
$Lib tier2
$Lib liblua
}
}