将配置文件一起放入到生成目录
#3456
Replies: 1 comment 2 replies
-
function copy(file)
after_build(function (target)
os.cp(file, target:targetdir())
end)
end
target("main")
copy("xxx") |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
我项目有一些配置文件,需要从src放到项目的生成目录中,除了写命令还没有一些简单的办法类似cmake的file(COPY ${TEMPLATE_FILES} DESTINATION jsp-tem)
Beta Was this translation helpful? Give feedback.
All reactions