Skip to content
Discussion options

You must be logged in to vote

你确定?我这不是可以么

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!

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@xiao-mang
Comment options

@xiao-mang
Comment options

@xiao-mang
Comment options

@waruqi
Comment options

Answer selected by xiao-mang
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants