使用xmake来自动化编译过程
This commit is contained in:
parent
7f86118c33
commit
0bd53529ce
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
/build
|
||||||
|
/.xmake
|
||||||
16
xmake.lua
Normal file
16
xmake.lua
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
add_rules("mode.debug", "mode.release")
|
||||||
|
add_languages("c++20")
|
||||||
|
set_policy("package.install_locally", true)
|
||||||
|
|
||||||
|
add_requires("hiredis","redis-plus-plus")
|
||||||
|
|
||||||
|
|
||||||
|
target("test-hiredis")
|
||||||
|
add_files("test-hiredis.cpp")
|
||||||
|
add_packages("hiredis")
|
||||||
|
|
||||||
|
|
||||||
|
target("test-redis++")
|
||||||
|
add_files("test-redis++.cpp")
|
||||||
|
add_packages("redis-plus-plus")
|
||||||
|
|
||||||
Loading…
Reference in New Issue
Block a user