-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathxmake.lua
45 lines (35 loc) · 919 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
39
40
41
42
43
44
45
add_requires("cmake::ROOT", { alias = "ROOT", system = true })
add_rules("mode.debug", "mode.release")
set_languages("cxx14")
set_targetdir("bin")
add_packages("ROOT")
add_includedirs("include")
option()
add_defines("DEBUG")
target("clipp")
set_kind("shared")
set_targetdir("lib64")
add_files("src/clipp.cpp")
target("json")
set_kind("shared")
set_targetdir("lib64")
add_files("src/json.cpp")
target("args")
set_kind("shared")
set_targetdir("lib64")
add_files("src/args.cpp")
add_deps("clipp", "json")
target("Tracker")
set_kind("shared")
set_targetdir("lib64")
add_files("src/*.cpp")
target("HoughTracker")
set_kind("binary")
set_targetdir("bin")
add_files("main/main_hough.cpp")
add_deps("Tracker")
target("LocalTracker")
set_kind("binary")
set_targetdir("bin")
add_files("main/main_local.cpp")
add_deps("Tracker")