refactor: name conflict
This commit is contained in:
10
xmake.lua
10
xmake.lua
@@ -1,4 +1,4 @@
|
||||
set_project("allocator")
|
||||
set_project("lae_allocator")
|
||||
set_version("1.0.0")
|
||||
|
||||
set_languages("c11")
|
||||
@@ -31,10 +31,10 @@ option_end()
|
||||
-- Library
|
||||
-- =========================================================
|
||||
|
||||
target("allocator")
|
||||
target("lae_allocator")
|
||||
set_kind("static")
|
||||
|
||||
add_files("src/allocator.c")
|
||||
add_files("src/lae_allocator.c")
|
||||
|
||||
add_headerfiles("include/*.h")
|
||||
|
||||
@@ -54,7 +54,7 @@ if has_config("example") then
|
||||
|
||||
add_files("src/main.c")
|
||||
|
||||
add_deps("allocator")
|
||||
add_deps("lae_allocator")
|
||||
end
|
||||
|
||||
-- =========================================================
|
||||
@@ -69,7 +69,7 @@ if has_config("tests") then
|
||||
|
||||
add_files("test/test_allocator.c")
|
||||
|
||||
add_deps("allocator")
|
||||
add_deps("lae_allocator")
|
||||
|
||||
add_packages("cmocka")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user