forked from citizenfx/fivem
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpremake5.lua
More file actions
41 lines (33 loc) · 1.25 KB
/
premake5.lua
File metadata and controls
41 lines (33 loc) · 1.25 KB
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
project 'CitiTest'
language 'C++'
kind 'ConsoleApp'
symbols 'Full'
links { 'Shared' }
add_dependencies { 'net:base', 'vendor:catch2', 'vendor:lua', 'citizen:scripting:core', 'citizen:scripting:lua' }
if os.istarget('windows') then
links { "psapi", "wininet", "winhttp" }
flags { "NoManifest", "NoImportLib" }
add_dependencies { 'vendor:rpmalloc' }
else
links { 'dl', 'pthread' }
end
if _OPTIONS['game'] == 'server' then
links { 'CitiCore' }
add_dependencies { 'citizen:server:impl' }
files { 'server/**.cpp', 'server/**.hpp', 'server/**.h' }
else
links { 'CitiCore', 'dbghelp', 'psapi', 'comctl32', 'wininet', 'winhttp', 'crypt32' }
add_dependencies { 'vendor:tinyxml2', 'vendor:concurrentqueue', 'vendor:tbb', 'vendor:boost_locale', 'vendor:openssl_crypto', 'vendor:citizen_util', 'vendor:xenium', 'citizen:resources:core', 'citizen:scripting:core' }
files { 'client/**.cpp', 'client/**.hpp', 'client/**.h', '../client/common/StdInc.cpp', '../client/common/CfxLocale.Win32.cpp' }
end
files
{
'*.cpp', '*.hpp', '*.h', 'shared/**.cpp', 'shared/**.hpp', 'shared/**.h', '../client/common/Error.cpp'
}
includedirs
{
'shared/',
'include/',
'../client/citicore/'
}
targetname 'CitiTest'