-
Notifications
You must be signed in to change notification settings - Fork 1
/
xmake.lua
38 lines (33 loc) · 639 Bytes
/
xmake.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
-- define project
set_project("lac")
set_xmakever("2.3.2")
set_version("0.0.1", {build = "%Y%m%d%H%M"})
-- set common flags
-- set_warnings("all", "error")
-- set_languages("c")
-- add build modes
add_rules("mode.release", "mode.debug")
add_links("c","m","rt", "pthread")
add_includedirs("include", "libev","jsonrpc", "tinyparam", "cjson", "tinyds", "tinythpool", "tinyutils",
"mqtt_client", "tinyev"
)
-- includes sub-projects
includes(
"app",
"cjson",
"demo",
"elk",
"event_handler",
"libev",
"jsonrpc",
-- "libevent",
"lua",
-- "mongoose",
"mqtt_client",
"test",
-- "tinyds",
"tinyev",
"tinyparam",
"tinythpool",
"tinyutils"
)