Closed Arcnor closed 3 years ago
"cpack" "-C" "Debug" "--verbose" "-GZIP"
That's an issue in CMake, Polly is just a wrapper.
Try --archive
instead of --pack
.
Hi, thanks for your answer!
I understand Polly is a wrapper, but I imagine Polly is also the source of that EFFECTIVE_PLATFORM_NAME
variable? --archive
only zips/tar-gzs stuff together, while I need a cpack
invocation. That seems to work fine except for that variable definition, currently I'm manually adding it and everything works after calling cpack again, but I expect this to be a bug somewhere.
So it looks like it's not Polly adding that variable, but Xcode, so I'm closing this as there is a CMake issue related to this (https://gitlab.kitware.com/cmake/cmake/-/issues/20023 which seems to have been patched on CMake 3.19.5 but doesn't work for me for some reason).
Thanks again and sorry for the noise.
Hello,
I've been trying to build an iOS library using Polly & CPack, with the following command line:
Although the build finishes correctly, CPack cannot find the compiled library because it's looking for it in the wrong path, probably because
EFFECTIVE_PLATFORM_NAME
is not being set. I don't know where that is being set, but it seems to work for everything except CPack. This is the output I'm getting:The path
Debug
should beDebug-iphoneos
as everything is being compiled inside that path. Looking at those generatedcmake
files I see that the path is being set as/Debug${EFFECTIVE_PLATFORM_NAME}/
so as mentioned, I'm assuming this is not being set for some reason.Am I missing something else on my command line, or is this a bug somewhere?
Thanks in advance!