forked from dansen/luacode
-
Notifications
You must be signed in to change notification settings - Fork 0
/
premake4.lua
145 lines (133 loc) · 2.65 KB
/
premake4.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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
solution "Decoda"
configurations { "Debug", "Release" }
location "build"
--debugdir "working"
flags { "No64BitChecks" }
defines { "_CRT_SECURE_NO_WARNINGS", "WIN32" }
vpaths {
["Header Files"] = { "**.h" },
["Source Files"] = { "**.cpp" },
["Resource Files"] = { "**.rc" },
}
project "Frontend"
kind "WindowedApp"
targetname "Decoda"
flags { "WinMain" }
location "build"
language "C++"
files {
"src/Frontend/*.h",
"src/Frontend/*.cpp",
"src/Frontend/*.rc",
}
includedirs {
"src/Shared",
"libs/wxWidgets/include",
"libs/wxScintilla/include",
"libs/Update/include",
}
libdirs {
"libs/wxWidgets/lib/vc_lib",
"libs/wxScintilla/lib",
"libs/Update/lib",
}
links {
"comctl32",
"rpcrt4",
"imagehlp",
"Update",
"Shared",
}
configuration "Debug"
defines { "DEBUG" }
flags { "Symbols" }
targetdir "bin/debug"
includedirs { "libs/wxWidgets/lib/vc_lib/mswd" }
links {
"wxbase28d",
"wxmsw28d_core",
"wxmsw28d_aui",
"wxscintillad",
"wxbase28d_xml",
"wxexpatd",
"wxmsw28d_adv",
"wxmsw28d_qa",
"wxzlibd",
"wxmsw28d_richtext",
"wxmsw28d_html",
"wxpngd",
}
configuration "Release"
defines { "NDEBUG" }
flags { "Optimize" }
targetdir "bin/release"
includedirs { "libs/wxWidgets/lib/vc_lib/msw" }
links {
"wxbase28",
"wxmsw28_core",
"wxmsw28_aui",
"wxscintilla",
"wxbase28_xml",
"wxexpat",
"wxmsw28_adv",
"wxmsw28_qa",
"wxzlib",
"wxmsw28_richtext",
"wxmsw28_html",
"wxpng",
}
project "LuaInject"
kind "SharedLib"
location "build"
language "C++"
defines { "TIXML_USE_STL" }
files {
"src/LuaInject/*.h",
"src/LuaInject/*.cpp",
}
includedirs {
"src/Shared",
"libs/LuaPlus/include",
"libs/tinyxml/include",
"libs/dbghlp/include",
}
libdirs {
"libs/tinyxml/lib",
"libs/dbghlp/lib",
}
links {
"Shared",
"psapi"
}
configuration "Debug"
defines { "DEBUG" }
flags { "Symbols" }
targetdir "bin/debug"
links { "tinyxmld_STL" }
configuration "Release"
defines { "NDEBUG" }
flags { "Optimize" }
targetdir "bin/release"
links { "tinyxml_STL" }
project "Shared"
kind "StaticLib"
location "build"
language "C++"
files {
"src/Shared/*.h",
"src/Shared/*.cpp",
}
includedirs {
}
libdirs {
}
links {
}
configuration "Debug"
defines { "DEBUG" }
flags { "Symbols" }
targetdir "bin/debug"
configuration "Release"
defines { "NDEBUG" }
flags { "Optimize" }
targetdir "bin/release"