Skip to content

Commit

Permalink
build: improve xmake
Browse files Browse the repository at this point in the history
  • Loading branch information
qudix committed May 28, 2024
1 parent eef2ef9 commit 94c27da
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 6 deletions.
4 changes: 2 additions & 2 deletions AddressLibDecoder/xmake.lua
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
target("addresslibdecoder")
target("commonlibf4-addresslibdecoder")
-- set build by default
set_default(false)

-- set build group
set_group("tool")
set_group("commonlibf4/tool")

-- add packages
add_packages("rsm-mmio")
Expand Down
4 changes: 2 additions & 2 deletions AddressLibGen/xmake.lua
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
target("addresslibgen")
target("commonlibf4-addresslibgen")
-- set build by default
set_default(false)

-- set build group
set_group("tool")
set_group("commonlibf4/tool")

-- add source files
add_files("src/**.cpp")
3 changes: 3 additions & 0 deletions CommonLibF4/xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ end)
target("commonlibf4", function()
set_kind("static")

-- set build group
set_group("commonlibf4")

-- add packages
add_packages("rsm-binary-io", "rsm-mmio", "spdlog", { public = true })

Expand Down
4 changes: 2 additions & 2 deletions RTTIDump/xmake.lua
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
target("rttidump")
target("commonlibf4-rttidump")
-- set build kind
set_kind("shared")

-- set build by default
set_default(false)

-- set build group
set_group("plugin")
set_group("commonlibf4/plugin")

-- add dependencies
add_deps("commonlibf4")
Expand Down

0 comments on commit 94c27da

Please sign in to comment.