New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cmake build style doesn't allow to choose source dir #20878
Comments
Can't you use |
nope: need to manage source dir at the configure step, not the build one. |
Despite its name |
I was not aware of that.
|
Hmm... I think it's just that instead of |
my bad ! FTR, my
... let's close this non-issue |
System
xuname: Void 5.4.31_1 x86_64-musl GenuineIntel uptodate rrnFF
package: packaging shiboken2 update to 5.14.2 (WIP)
Expected behavior
want to use cmake with sources of a subdir of $wkrsrc via
-S
cmake flag:Actual behavior
-S <subdir>
has no effect.Additional details
xbps-src append "
../
" to cmake arguments unconditionally.Resulting command is something like
cmake (args) -S sources/shiboken2 ../
So cmake uses sources of ${wrksrc}/build/.. instead of ${wrksrc}/sources/shiboken2/
Implied by
common/build-style/cmake.sh
on sed expression L63:Workaround
My current workaround: adding subdir to $wrksrc:
... that makes xlint nervous:
The text was updated successfully, but these errors were encountered: