wex contains a library that offers c++ ex and vi functionality.
The syncped application shows a usage of this library, offering a full featured source code text editor.
git clone --recursive https://github.com/antonvw/wex.git
./build-gen.sh
.\build-gen.ps1
install wex
(on windows as administrator cmake.exe -P cmake_install.cmake
)
and do find_package(wex)
in your CMakeLists.txt. This will provide the
wex_FOUND
, wex_INCLUDE_DIR
, wex_LIB_DIR
and wex_LIBRARIES
variables.
An example is the syncped editor.