-
Notifications
You must be signed in to change notification settings - Fork 2.5k
[CMake] ntlmclient. Headers for common crypto are excluded in Xcode target. #5969
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
Comments
If I understand your question correctly: since ntlmclient is piggybacking on the https configuration for libgit2 itself, we don't need any additional headers or libraries-libgit2's cmake rules pulled them in already |
In particular, they're getting defined in https://github.com/libgit2/libgit2/blob/main/cmake/SelectHTTPSBackend.cmake - the |
But I still don't understand which headers it uses. For example, Also I don't see a flag which switches |
#include "ntlm.h"
#include "unicode.h"
#include "utf8.h"
#include "crypt.h"
#include "compat.h"
#include "util.h" so these headers should be added to a Xcode target. This change is a try to understand which headers are required by ntlmclient since it contains different implementations of crypto-backends. ( and different implementations for unicode-backend? ) |
If I'm understanding what you're saying, the lack of
I was typing at the same time you were. 😁 Yes, I agree that these should probably be included in the Xcode target. |
Interesting, I've found another part of deprecated source?
No chance that |
Ah, interesting. If I were to do it over again, I would probably look at the |
Maybe it is better to separate parameters and pass them from libgit2 CMakeLists.txt to internal |
Changes are merged in #5974. |
Uh oh!
There was an error while loading. Please reload this page.
Too many words for simple
libgit2/deps/ntlmclient/CMakeLists.txt
Line 8 in e65229e
You may see that there is no clue of included headers at this common crypto condition branch.
Even more, there is no clue whether unicode is handled via
_builtin
or_iconv
.I don't understand what is going on (which headers are included or not), because target in Xcode doesn't contain any header but it works, because
HEADERS_SEARCH_PATH
flag is pointing todeps/ntlmclient
.The text was updated successfully, but these errors were encountered: