Skip to content

Commit

Permalink
chore: adjustments for xmake. 🚧
Browse files Browse the repository at this point in the history
  • Loading branch information
Joker2770 committed Nov 23, 2023
1 parent 424b8d7 commit 0c22e26
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions xmake.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
add_requires("onnxruntime 1.11.1")
add_includedirs("src", {public = true})
add_rules("mode.debug", "mode.release")

set_languages("c11", "cxx17")

Expand All @@ -13,6 +14,9 @@ target("pbrain-Z2I")
add_files("src/pbrain-Z2I/*.cpp")
add_deps("Z2I")
add_packages("onnxruntime")
after_build(function (target)
os.cp("$(scriptdir)/config/*.toml", target:targetdir())
end)

target("train_and_eval")
set_kind("binary")
Expand Down

0 comments on commit 0c22e26

Please sign in to comment.