add:添加xmake编译脚本
This commit is contained in:
parent
57269a5e73
commit
1bf2550248
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,4 +1,5 @@
|
||||
build
|
||||
.vs
|
||||
.cache
|
||||
.xmake
|
||||
cmake-*
|
12
xmake.lua
Normal file
12
xmake.lua
Normal file
@ -0,0 +1,12 @@
|
||||
add_rules("mode.debug", "mode.release")
|
||||
set_languages("c++17")
|
||||
if is_plat("windows") then
|
||||
add_cxxflags("/source-charset:utf-8")
|
||||
end
|
||||
if is_mode("debug") then
|
||||
set_suffixname("d")
|
||||
end
|
||||
add_includedirs(path.join(os.scriptdir(), "include"), {public = true})
|
||||
target("ofen")
|
||||
set_kind("static")
|
||||
add_files("src/*.cpp")
|
Loading…
x
Reference in New Issue
Block a user