fish-shell/cmake
Mahmoud Al-Qudsi b17124d8d2 Add rsconf build system and check for gettext symbols
This is more complicated than it needs to be thanks to the presence of CMake and
the C++ ffi in the picture. rsconf can correctly detect the required libraries
and instruct rustc to link against them, but since we generate a static rust
library and have CMake link it against the C++ binaries, we are still at the
mercy of CMake picking up the symbols we want.

Unfortunately, we could detect the gettext symbols but discover at runtime that
they weren't linked in because CMake was compiled with `-DWITH_GETTEXT=0` or
similar (as the macOS CI runner does). This means we also need to pass state
between CMake and our build script to communicate which CMake options were
enabled.
2023-05-25 16:54:03 -05:00
..
checks Optimize away a str2wcs_internal check 2020-09-07 18:05:18 -05:00
Benchmark.cmake Use lowercase CMake function names 2020-03-14 16:11:35 -07:00
CheckIncludeFiles.cmake :Revert "Remove CheckIncludeFiles.cmake" 2022-01-19 11:41:16 -08:00
ConfigureChecks.cmake When using curses, look for libterminfo as well. (#9794) 2023-05-16 15:02:11 -05:00
Docs.cmake docs synopsis: add HTML highlighing and automate manpage markup 2022-01-19 22:56:41 +08:00
gettext.cmake cmake: disable frameworks when searching for libintl 2022-03-26 22:00:44 +08:00
Install.cmake Remove obsolete lynx bug mitigation 2023-01-01 19:41:41 -08:00
Mac.cmake Revert "Update Mac.cmake" 2022-01-03 08:08:41 -08:00
MacApp.cmake Group certain cmake targets into folders 2021-03-21 13:29:41 -07:00
PCRE2.cmake Revert "cmake: Use pcre2 tag directly" 2022-10-28 17:59:08 -05:00
Rust.cmake Add rsconf build system and check for gettext symbols 2023-05-25 16:54:03 -05:00
Tests.cmake Use cargo build -Z build-std for ASAN 2023-03-08 11:27:15 -06:00
Version.cmake Use lowercase CMake function names 2020-03-14 16:11:35 -07:00