关于xmake管理同一版本不同配置包的一些疑惑 #2465
xiaomi2077
started this conversation in
General
Replies: 2 comments 4 replies
-
当存在 |
Beta Was this translation helpful? Give feedback.
1 reply
-
1、xmake是如何搜索到相应配置的opencv的? |
Beta Was this translation helpful? Give feedback.
3 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.
-
1、在xmake.lua里写
add_requires("opencv")
和写add_requires("opencv",configs={gtk=true})
是不是会在~/.xmake/package/o/opencv/4.5.5/
目录下产生2个目录,分别对应着带gtk和不带gtk版本的opencv2、在别的项目的xmake.lua中,引用带gtk的opencv,是不是要写成
add_requires("opencv",configs={gtk=true})
才能引用的到带gtk的opencv?target('xxx')
里的add_packages("opencv")
链接的也是带有gtk的opencv的lib?(以我做的实验是这样,想确认下我想的对不对)
Beta Was this translation helpful? Give feedback.
All reactions