Comments (14)
try #5099
add_packages("xxx", {linkpath = true})
from xmake.
试了最新的 dev 分支还是 -l 的,是我要手动 cherry-pick 改动吗
from xmake.
patch 还没merge xmake update -s github:xmake-io/xmake#linkpath
from xmake.
vulkansdk 支持不
from xmake.
vulkansdk 支持不
系统库不支持,需要能找到完整库路径。目前只是 fetch only 包 https://github.com/xmake-io/xmake-repo/blob/dev/packages/v/vulkansdk/xmake.lua
除非你改进这个包 增加 on_install ,或者让 on_fetch 检测到库路径,返回 libfiles
from xmake.
Bot detected the issue body's language is not English, translate it automatically.
I tried the latest dev branch and it still has -l. Do I need to manually cherry-pick the changes?
from xmake.
Bot detected the issue body's language is not English, translate it automatically.
The patch has not been merged yet xmake update -s github:xmake-io/xmake#linkpath
from xmake.
Bot detected the issue body's language is not English, translate it automatically.
Does vulkansdk support
from xmake.
试了最新的 dev 分支还是 -l 的,是我要手动 cherry-pick 改动吗
merge 了,再试下 dev
from xmake.
Bot detected the issue body's language is not English, translate it automatically.
I tried the latest dev branch and it still has -l. Do I need to manually cherry-pick the changes?
Merged, try dev again
from xmake.
试了最新的 dev 分支还是 -l 的,是我要手动 cherry-pick 改动吗
merge 了,再试下 dev
可以了,不过我更期待是 policy 这种写法,感觉是一种使用三方库的风格。
至少应该是 add_requires("xxx")
的级别,不然的话代码里每次使用 add_packages 都要加一行这个。
from xmake.
Bot detected the issue body's language is not English, translate it automatically.
I tried the latest dev branch and it still has -l. Do I need to manually cherry-pick the changes?
Merged, try dev again
It's okay, but I'm more looking forward to writing it in the policy way, which feels like a style of using a dynamic library.
It should be at least the level of add_requires("xxx")
, otherwise you will have to add a line of this every time you use add_packages in your code.
from xmake.
试了最新的 dev 分支还是 -l 的,是我要手动 cherry-pick 改动吗
merge 了,再试下 dev
可以了,不过我更期待是 policy 这种写法,感觉是一种使用三方库的风格。
至少应该是
add_requires("xxx")
的级别,不然的话代码里每次使用 add_packages 都要加一行这个。
放进 add_requires 里,每次切 linkpath 和 -l 都需要重新安装一遍,并且云端预编译的包也用不了。。走 add_packages ,你想切的时候,几秒就能切过去,默认还是走 -l ,只有需要 linkpath 的加一下就好了。。
而且也不是所有包都能找到完整库路径。。系统库,brew 等一些三方包管理 目前是不支持的
from xmake.
Bot detected the issue body's language is not English, translate it automatically.
I tried the latest dev branch and it still has -l. Do I need to manually cherry-pick the changes?
Merged, try dev again
It's okay, but I'm more looking forward to writing it in the policy way, which feels like a style of using a third-party library.
It should be at least the level of
add_requires("xxx")
, otherwise you will have to add a line of this every time you use add_packages in the code.
Put it in add_requires, you need to reinstall it every time you change linkpath and -l, and the pre-compiled packages in the cloud cannot be used. . Use add_packages. When you want to switch, you can switch to it in a few seconds. By default, use -l. Just add the linkpath if you need it. .
And not all packages can find the full library path. . System libraries, brew and other third-party package management are currently not supported.
from xmake.
Related Issues (20)
- The behavior of `set_optimize` is inconsistent on MSVC-related platforms. HOT 5
- Windows下shared目标缺少定义_WINDLL宏 HOT 2
- Macos下Qt开发使用add_frameworks添加的frameworks没有添加到链接命令中 HOT 3
- plugin.compile_commands.autoupdate 报错 HOT 17
- incorrect conan profile generated when using vs 17.1x HOT 1
- xmake添加多个deps时,deps内部有相互依赖的情况下编译无法通过 HOT 24
- Please add support for IAR ARM embedded toolchain HOT 16
- links not found when add_deps("openmp") HOT 10
- 支持在 xmake-repo 下发 toolchain 和 opiton HOT 9
- 添加`qt5widget`包后,xmake的qt规则无法自动识别qt路径 HOT 14
- How to set llvm-rc's options on msys2/clangarm64? HOT 1
- No way to set build type in `qt.deploy.flags` passed to windeployqt HOT 1
- Improve copy pdb when using ninja on Windows HOT 11
- 引用外部库时如何使用预编译头文件的功能 HOT 5
- 解决rc文件不会重新编译的问题 HOT 15
- 升级 xmake 后,包构建失败:package(nlohmann-json): links not found! HOT 4
- Linux系统编译多出-framework选项 HOT 34
- Cannot create static library providing C++ module HOT 14
- 多target的项目中,使用add_shflags("/NOENTRY")的纯资源动态库项目会对其它shared项目产生影响 HOT 3
- 本地定义的 package 无法替换掉间接依赖 HOT 36
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xmake.