关于CMakeLists没有install时如何正确安装头文件的问题 #6705
Answered
by
star-hengxing
Extra-Creativity
asked this question in
Q&A
Replies: 1 comment
-
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Extra-Creativity
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.
-
想写一下tiny-cuda-nn的远程包,然后发现import("package.tools.cmake").install(package, configs)之后,安装结果没有include文件夹,感觉是原工程没写install的问题;本来想os.cp("include", package:installdir())一下,但是又发现这个工程有submodules之类的依赖,还需要把dependencies下不同的文件夹都变成include的一部分。原工程CMakeLists里有TCNN_INCLUDES这个变量,直接target_includes_directories了,在xmake当成package安装应该怎么搞呢?
Beta Was this translation helpful? Give feedback.
All reactions