Skip to content

关于 add_deps 工程构建顺序的问题 #5870

Closed Answered by star-hengxing
Leopard-C asked this question in Q&A
Discussion options

You must be logged in to vote
add_deps("A", {inherit = false})

before_run(function (target)
    local A = target:dep("A")
    os.vcp(A:targetfile(), target:targetdir())
end)

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Leopard-C
Comment options

Answer selected by Leopard-C
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