-
为什么before_install不能像on_install一样在target内使用 |
Beta Was this translation helpful? Give feedback.
Answered by
waruqi
Sep 21, 2023
Replies: 1 comment 4 replies
-
你确定?我这不是可以么 target("testi")
set_kind("binary")
add_files("src/*.cpp")
before_install(function (target)
print("before install")
end) ruki-2:testi ruki$ xmake install -o /tmp/xxx
before install
installing testi ..
installing testi to /tmp/xxx ..
install ok! |
Beta Was this translation helpful? Give feedback.
4 replies
Answer selected by
xiao-mang
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
你确定?我这不是可以么