Skip to content

antonvw/wex

Repository files navigation

wex library

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.

Requirements

  • cmake
  • boost
  • a c++23 standard supporting compiler
  • for Linux or osx ninja is optional

Building

git clone --recursive https://github.com/antonvw/wex.git

for linux or osx

./build-gen.sh

for Visual Studio

mkdir build && cd build && cmake ..
devenv wex.sln /build Release

and for mingw add -G "MinGW Makefiles" and do mingw32-make.

Use wex lib in your own application

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.

Build process

Codacy Badge Coverage Status

Uses