-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathpremake5.lua
77 lines (65 loc) · 2.12 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
workspace "III.VC.SA.WindowedMode"
configurations { "Release", "Debug" }
platforms { "Win32" }
architecture "x32"
characterset ("UNICODE")
location "build"
objdir ("build/obj")
buildlog ("build/log/%{prj.name}.log")
buildoptions {"-std:c++latest"}
project "III.VC.SA.WindowedMode"
kind "SharedLib"
language "C++"
targetdir "data/%{cfg.buildcfg}"
targetextension ".asi"
defines { "rsc_CompanyName=\"ThirteenAG\"" }
defines { "rsc_LegalCopyright=\"MIT License\""}
defines { "rsc_FileVersion=\"1.0.0.0\"", "rsc_ProductVersion=\"1.0.0.0\"" }
defines { "rsc_InternalName=\"%{prj.name}\"", "rsc_ProductName=\"%{prj.name}\"", "rsc_OriginalFilename=\"%{prj.name}.asi\"" }
defines { "rsc_FileDescription=\"https://github.com/ThirteenAG\"" }
defines { "rsc_UpdateUrl=\"https://github.com/ThirteenAG/III.VC.SA.WindowedMode\"" }
files { "source/cpp/*.h" }
files { "source/cpp/*.cpp", "source/*.c" }
files { "source/cpp/*.rc" }
includedirs { "source/cpp" }
includedirs { "source/cpp/d3d8" }
includedirs { "external/injector/include" }
includedirs { "external/IniReader" }
filter "configurations:Debug"
defines { "DEBUG" }
symbols "On"
filter "configurations:Release"
defines { "NDEBUG" }
optimize "On"
flags { "StaticRuntime" }
targetdir "data"
project "III.VC.SA.CoordsManager"
kind "WindowedApp"
language "C#"
location "source/cs"
targetdir "data/%{cfg.buildcfg}"
targetextension ".exe"
icon "source/cs/radar_player_target.ico"
files { "source/cs/*.*" }
files { "source/cs/Properties/*.*" }
files { "source/cs/Resources/*.*" }
links { "System",
"System.Core",
"System.Xml.Linq",
"System.Data.DataSetExtensions",
"Microsoft.CSharp",
"System.Data",
"System.Deployment",
"System.Drawing",
"System.Net.Http",
"System.Windows.Forms",
"System.Xml"
}
filter "configurations:Debug"
defines { "DEBUG" }
symbols "On"
filter "configurations:Release"
defines { "NDEBUG" }
optimize "On"
flags { "StaticRuntime" }
targetdir "data"