-
Notifications
You must be signed in to change notification settings - Fork 3
/
premake4.lua
158 lines (144 loc) · 3.67 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
146
147
148
149
150
151
152
153
154
155
156
157
158
solution "GoPlus"
location("build/")
targetdir "bin"
libdirs { "C:/devenv/lib" }
includedirs { "C:/devenv/include", "include", "."}
implibdir "lib"
defines { "WIN32" }
configurations { "Debug", "Release" }
flags { "NoIncrementalLink" }
configuration "Debug"
defines { "DEBUG", "_DEBUG" }
flags { "Symbols" }
objdir "build/intermediate/Debug"
targetsuffix "d"
configuration "Release"
defines { "NDEBUG" }
flags { "Optimize" }
objdir "build/intermediate/Release"
project "GoPlus"
kind "WindowedApp"
language "C++"
files {
"src/main.cpp",
"src/GoPlusContext.cpp",
"src/SettingDialog.cpp",
"src/MainDialog.cpp",
"src/BaseDialog.cpp",
"src/ActiveObjectShell.cpp",
"res/StealthDialog.rc",
"include/GoPlusContext.h",
--"src/GoPlusApp.cpp",
"src/GoGameWatcher.cpp",
"src/GoBoard.cpp",
"src/ScalableGoBoard.cpp",
"src/FixedGoBoard.cpp",
"src/EWeiQiGoBoard.cpp",
"src/QQGoBoard.cpp",
"src/GoGameFrame.cpp",
"src/GoGamePiece.cpp",
"src/GoGameRule.cpp",
"src/WindowBitmap.cpp",
"src/MetaMachine.cpp",
"src/ProcessHack_WIN32.cpp",
--"include/GoPlusApp.h",
"include/SettingDialog.h",
"include/MainDialog.h",
"include/BaseDialog.h",
"include/GoGameWatcher.h",
"include/GoBoard.h",
"include/ScalableGoBoard.h",
"include/FixedGoBoard.h",
"include/EWeiQiGoBoard.h",
"include/QQGoBoard.h",
"include/GoGameFrame.h",
"include/GoGamePiece.h",
"include/GoGameRule.h",
"include/WindowBitmap.h",
"include/MetaMachine.h",
"include/ProcessHack_WIN32.h",
}
includedirs { "include" }
objdir "intermediate"
flags { "WinMain" }
--links {"comctl32"}
project "hellowin"
kind "WindowedApp"
language "C++"
files {
"ui/hellowin.cpp",
}
includedirs { "include" }
objdir "intermediate"
flags { "WinMain" }
project "GetPixelApp"
kind "ConsoleApp"
language "C++"
files {
"samples/GetPixelApp.cpp"
}
includedirs { "include" }
objdir "intermediate"
project "WindowBitmapTest"
kind "ConsoleApp"
language "C++"
files {
"src/WindowBitmap.cpp",
"include/WindowBitmap.h",
"samples/WindowBitmapTest.cpp"
}
includedirs { "include" }
objdir "intermediate"
project "MetaMachineTest"
kind "ConsoleApp"
language "C++"
files {
"samples/MetaMachineTest.cpp"
}
includedirs { "include" }
objdir "intermediate"
links { "MetaMachine" }
project "MouseEventTest"
kind "ConsoleApp"
language "C++"
files {
"samples/MouseEventTest.cpp"
}
includedirs { "include" }
objdir "intermediate"
project "atest"
kind "ConsoleApp"
language "C++"
files {
"src/point.cpp"
}
includedirs { "include" }
project "UIApp"
kind "WindowedApp"
language "C++"
files {
"ui/BaseWindow.cpp",
"ui/DerivedWindow.cpp",
"ui/winmain.cpp"
}
includedirs { "include" }
objdir "intermediate"
flags { "WinMain" }
project "testsuite"
kind "WindowedApp"
language "C++"
files {
"testsuite/src/*.cpp"
}
includedirs {
"include",
"include/CppUnit",
"include/CppUnit/WinTestRunner"
}
objdir "testsuite/intermediate"
links{
"CppUnitd",
"WinTestRunnerd",
"PocoFoundationd"
}
flags { "WinMain", "MFC" }