C++20 or higher
libyaml-cpp >= 0.8
boost-libs >= 1.83.0
OpenSSL
Install the dependencies
sudo apt install cmake libssl-dev
Follow the instructions on the Boost to install the Boost library suitable for your system. or install from repository
sudo apt install libboost-all-dev
Follow the instructions on the Yaml-cpp to install the library
- git clone git@github.com:MortezaBashsiz/nipovpn.git
- cd niopvpn
- mkdir build
- cd build
- cmake -DCMAKE_BUILD_TYPE=Debug ..
- make -j$(nproc)
- sudo apt install ninja-build
- git clone git@github.com:MortezaBashsiz/nipovpn.git
- cd niopvpn
- cmake -DCMAKE_BUILD_TYPE=Debug -G Ninja -B build
- cmake --build build -j$(nproc)
-DCMAKE_BUILD_TYPE=Debug|Release
To clean simply remove the build directory