robot-ya-builder 96458ea3c7 External build system generator release 65 | 11 months ago | |
---|---|---|
.. | ||
include | 1 year ago | |
src | 1 year ago | |
CMakeLists.darwin-arm64.txt | 1 year ago | |
CMakeLists.darwin-x86_64.txt | 1 year ago | |
CMakeLists.linux-aarch64.txt | 1 year ago | |
CMakeLists.linux-x86_64.txt | 1 year ago | |
CMakeLists.txt | 11 months ago | |
CMakeLists.windows-x86_64.txt | 1 year ago | |
LICENSE.md | 1 year ago | |
README.md | 1 year ago | |
ya.make | 1 year ago |
A small, portable GNU readline replacement for Linux, Windows and MacOS which is capable of handling UTF-8 characters. Unlike GNU readline, which is GPL, this library uses a BSD license and can be used in any kind of program.
This replxx implementation is based on the work by ArangoDB Team and Salvatore Sanfilippo and 10gen Inc. The goal is to create a zero-config, BSD licensed, readline replacement usable in Apache2 or BSD licensed programs.
To build this library, you will need a C++11-enabled compiler and some recent version of CMake.
Create a build directory
mkdir -p build && cd build
Build the library
cmake -DCMAKE_BUILD_TYPE=Release .. && make
Install the library at the default target location
sudo make install
The default installation location can be adjusted by setting the DESTDIR
variable when invoking make install
:
make DESTDIR=/tmp install
Create a build directory in MS-DOS command prompt
md build
cd build
Generate Visual Studio solution file with cmake
32 bit:
cmake -G "Visual Studio 12 2013" -DCMAKE_BUILD_TYPE=Release ..
64 bit:
cmake -G "Visual Studio 12 2013 Win64" -DCMAKE_BUILD_TYPE=Release ..
replxx.sln
in the build
subdirectory with Visual Studio.Please test it everywhere you can and report back!