Files
Adrien OllierandJonathan White caa7d14761 Cleanup line reader code for CLI (#13330)
* refactor(LineReader): Make use of the LineReader class in a much simpler way

The LineReader is made a concrete class whose declaration is independent of the readline library. Only its implementation depends on the presence or absence of the readline library. The LineReader code is embedded in a new library : line_reader, to make the cli library independant of the USE_READLINE definition.

* refactor(readline): better FindReadline module

The readline library is now searched with pkg-config first. If pkg-config is not installed, the search is manual. In both cases, the Readline::readline target is created, embedding transitive requirements.

FindReadline module was written with the help of Le Chat AI (https://chat.mistral.ai/chat)

---------

Co-authored-by: Jonathan White <[email protected]>
2026-07-23 06:41:11 -04:00
..
2025-08-24 10:25:48 -04:00