mirror of
https://github.com/curl/curl.git
synced 2026-04-14 13:01:42 +08:00
- emit warning for `ENABLE_DEBUG` builds. - add words to clarify that `ENABLE_DEBUG` is meant for developing curl itself. - add comment saying `CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS=ON` CMake option may export extra, non-curl symbols. Ref: https://github.com/microsoft/vcpkg/issues/41761 Unexplained exports seen also in curl CI: ``` [ 742] _tcschr [ 743] _tcsncmp [ 744] _tcsncpy [ 745] _tcspbrk ``` https://ci.appveyor.com/project/curlorg/curl/builds/50864041/job/lolledrg4h7hu6e4?fullLog=true#L2160 CMake extracts these symbols from `.obj` files: https://gitlab.kitware.com/cmake/cmake/-/issues/22092#note_943718 I have not found any new MSVC option that helps fixing this without decorating all functions in-source or maintaining a manual list of internal function names used for tests: https://learn.microsoft.com/cpp/build/reference/wholearchive-include-all-library-object-files Closes #15414 |
||
|---|---|---|
| .. | ||
| Platforms | ||
| cmake_uninstall.cmake.in | ||
| CMakeConfigurableFile.in | ||
| curl-config.cmake.in | ||
| CurlSymbolHiding.cmake | ||
| CurlTests.c | ||
| FindBearSSL.cmake | ||
| FindBrotli.cmake | ||
| FindCares.cmake | ||
| FindGSS.cmake | ||
| FindLibgsasl.cmake | ||
| FindLibidn2.cmake | ||
| FindLibpsl.cmake | ||
| FindLibssh2.cmake | ||
| FindLibssh.cmake | ||
| FindLibuv.cmake | ||
| FindMbedTLS.cmake | ||
| FindMSH3.cmake | ||
| FindNettle.cmake | ||
| FindNGHTTP2.cmake | ||
| FindNGHTTP3.cmake | ||
| FindNGTCP2.cmake | ||
| FindQuiche.cmake | ||
| FindRustls.cmake | ||
| FindWolfSSH.cmake | ||
| FindWolfSSL.cmake | ||
| FindZstd.cmake | ||
| Macros.cmake | ||
| OtherTests.cmake | ||
| PickyWarnings.cmake | ||
| Utilities.cmake | ||