-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathxmake.lua
More file actions
35 lines (26 loc) · 815 Bytes
/
Copy pathxmake.lua
File metadata and controls
35 lines (26 loc) · 815 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
26
27
28
29
30
31
32
33
34
35
set_project("ipc-service-demo")
set_version("1.0.0")
-- include external toolchain config
includes("toolchains.lua")
-- default toolchain: host
-- you can override later with:
-- xmake f --toolchain=cross_gcc
-- xmake f --toolchain=host_gcc
set_toolchains("host_gcc")
add_rules("mode.debug", "mode.release")
-- global include paths
add_includedirs("$(projectdir)/src", "$(projectdir)/src/log")
-- === Common libraries (defined here) ===
target("aw_wifi")
set_kind("static")
add_files("src/aw_wifi/*.c")
target("ipc_shm")
set_kind("static")
add_files("src/ipc/libshm/*.c")
target("ipc_socket")
set_kind("static")
add_files("src/ipc/libsock/*.c")
-- === Services (included separately) ===
includes("src/service/monitor")
includes("src/service/model")
includes("src/service/wifi")