This project requires a C++17 compiler (e.g gcc >= 7 or clang >= 4) and
uses flex
and cmake
.
sudo apt-get update
sudo apt-get install cmake flex make
For gcc: sudo apt-get install gcc g++
For clang: sudo apt-get install clang
sudo pacman -Syu --as-needed cmake flex make clang gcc
sudo emerge -avt cmake flex make
- CMake
- Visual Studio 2017 Community edition
- flex
- The path to win_flex.exe needs to be added to the PATH environment variable
git clone https://github.com/SFTtech/nyan.git
This project is built like every standard cmake project. It boils down to:
cd nyan
mkdir build
cd build
cmake ..
make -j$(nproc)
cmake
registers the project in the user package registry.
Other projects can therefore easily find nyan
without installing it
(no sudo make install
needed).
find_package(nyan CONFIG REQUIRED)
will directly provide nyan::nyan
as a
target to link to (with its include directories etc).