Merge branch 'master' of git.a2s.su:iiiypuk/snipplets.dev
This commit is contained in:
commit
b53f35225b
26
code/XMake/example.lua
Normal file
26
code/XMake/example.lua
Normal file
@ -0,0 +1,26 @@
|
||||
set_project("example")
|
||||
set_languages("c99", "cxx17")
|
||||
add_rules("mode.debug", "mode.release")
|
||||
|
||||
if is_mode("debug") then
|
||||
set_symbols("debug")
|
||||
set_optimize("none")
|
||||
end
|
||||
|
||||
add_includedirs(
|
||||
"include" -- APPLICATION
|
||||
)
|
||||
add_linkdirs(
|
||||
)
|
||||
|
||||
-- rxi | log.c
|
||||
target("log.c")
|
||||
set_kind("static")
|
||||
add_defines("LOG_USE_COLOR")
|
||||
add_files("third/log.c/log.c")
|
||||
|
||||
target("example")
|
||||
set_kind("binary")
|
||||
add_syslinks()
|
||||
add_files("src/*.cpp")
|
||||
add_deps("log.c")
|
Loading…
Reference in New Issue
Block a user