forked from FreeTheTech101/iw4lan
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpremake5.lua
110 lines (83 loc) · 1.89 KB
/
premake5.lua
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
solution "iw4cli"
configurations { "Debug", "Release" }
flags { "No64BitChecks" }
staticruntime "On"
symbols "On"
flags { "NoIncrementalLink" }
editandcontinue "Off"
includedirs { "deps/include/" }
libdirs { "deps/lib/" }
configuration "Debug*"
targetdir "bin/debug"
defines "NDEBUG"
configuration "Release*"
targetdir "bin/release"
defines "NDEBUG"
project "steam_api"
targetname "iw4lan"
language "C++"
kind "SharedLib"
defines { "WIN32", "NDEBUG", "_WINDOWS", "_WINDLL", "_USRDLL", "STEAM_API_EXPORTS" }
flags { "NoMinimalRebuild" }
files
{
"steam_api/**.cpp",
"steam_api/**.h",
"steam_api/StdInc.cpp"
}
pchsource "steam_api/StdInc.cpp"
pchheader "StdInc.h"
libdirs { "libcef/lib/" }
includedirs { "deps/include/osw/", "deps/include/python/", "libcef/" }
links
{
"tomcrypt",
"tommath",
"tinyxml",
"zlib",
"ws2_32",
"winmm",
"wldap32",
"dbghelp",
"python32",
"python32_socket",
"shlwapi",
"libcurl",
"pdcurses",
"iphlpapi",
"mono",
"mongoose",
"libcef",
"libcef_dll_wrapper"
}
configuration "windows"
linkoptions "/IGNORE:4248 /IGNORE:4049 /IGNORE:4099 /DYNAMICBASE:NO /SAFESEH:NO"
prebuildcommands
{
"pushd \"$(SolutionDir)\\deps\\tools\"",
"call \"$(SolutionDir)\\deps\\tools\\gitrev.cmd\"",
"popd"
}
project "InfinityScript"
targetname "InfinityScript"
language "C#"
kind "SharedLib"
files
{
"InfinityScript/**.cs"
}
links { "System", "System.Core", "System.Data", "System.Xml" }
project "libcef_dll_wrapper"
targetname "libcef_dll_wrapper"
language "C++"
kind "StaticLib"
defines { "USING_CEF_SHARED", "NOMINMAX", "WIN32" }
flags { "NoIncrementalLink", "NoMinimalRebuild" }
includedirs { "libcef/" }
buildoptions "/MP"
files
{
"libcef/libcef_dll/**.cc",
"libcef/libcef_dll/**.cpp",
"libcef/libcef_dll/**.h"
}