-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathxmake.lua
More file actions
26 lines (22 loc) · 816 Bytes
/
xmake.lua
File metadata and controls
26 lines (22 loc) · 816 Bytes
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
add_rules("mode.debug", "mode.release")
set_optimize("fastest")
add_cxxflags("-shared -fPIC")
add_includedirs(".", "etp_log", "etp_sdk")
add_syslinks("dl", "pthread")
includes("etp_sdk/xmake.lua")
includes("etp_log/xmake.lua")
target("deps")
set_kind("static")
add_deps("etp_static_log", "etp_sdk")
add_files("addone.cpp")
add_files("cJSON.cpp")
add_files("connectClient.cpp")
add_files("handClient.cpp")
add_files("str.cpp")
on_install(function (target) end) on_uninstall(function (target) end)
target("etp_module_http")
set_kind("shared")
set_filename("etp_module_http.so")
add_deps("etp_sdk", "etp_static_log", "deps")
add_files("main.cpp")
add_files("init.cpp")