forked from danielga/gm_luaerror
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpremake5.lua
More file actions
31 lines (27 loc) · 923 Bytes
/
premake5.lua
File metadata and controls
31 lines (27 loc) · 923 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
PROJECT_GENERATOR_VERSION = 3
newoption({
trigger = "gmcommon",
description = "Sets the path to the garrysmod_common (https://github.com/danielga/garrysmod_common) directory",
value = "path to garrysmod_common directory"
})
externalincludedirs = sysincludedirs
include(assert(_OPTIONS.gmcommon or os.getenv("GARRYSMOD_COMMON"),
"you didn't provide a path to your garrysmod_common (https://github.com/danielga/garrysmod_common) directory"))
CreateWorkspace({name = "luaerror", abi_compatible = true})
CreateProject({serverside = true})
IncludeLuaShared()
IncludeHelpersExtended()
IncludeSDKCommon()
IncludeSDKTier0()
IncludeSDKTier1()
IncludeScanning()
IncludeDetouring()
files({
"source/shared/main.cpp",
"source/server/server.cpp",
"source/server/server.hpp",
"source/shared/shared.cpp",
"source/shared/shared.hpp",
"source/common/common.cpp",
"source/common/common.hpp"
})