Skip to content
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

Add ability to disable verbose strings in curl #10986

Merged
merged 4 commits into from
Jun 5, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions recipes/libcurl/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ class LibcurlConan(ConanFile):
"with_verbose_debug": [True, False],
"with_symbol_hiding": [True, False],
"with_unix_sockets": [True, False],
"with_verbose_strings": [True, False],
"with_ca_bundle": "ANY",
"with_ca_path": "ANY",
}
Expand Down Expand Up @@ -100,6 +101,7 @@ class LibcurlConan(ConanFile):
"with_verbose_debug": True,
"with_symbol_hiding": False,
"with_unix_sockets": True,
"with_verbose_strings": True,
"with_ca_bundle": None,
"with_ca_path": None,
}
Expand Down Expand Up @@ -568,6 +570,7 @@ def _configure_cmake(self):
self._cmake.definitions["USE_LIBIDN2"] = self.options.with_libidn
self._cmake.definitions["CURL_DISABLE_RTSP"] = not self.options.with_rtsp
self._cmake.definitions["CURL_DISABLE_CRYPTO_AUTH"] = not self.options.with_crypto_auth
self._cmake.definitions["CURL_DISABLE_VERBOSE_STRINGS"] = not self.options.with_verbose_strings

# Also disables NTLM_WB if set to false
if not self.options.with_ntlm:
Expand Down