Installation¶
Download and build:
$ git clone https://github.com/seanngpack/feeling-blue-cpp/
$ cd feeling-blue-cpp
$ mkdir build
$ cd build
$ cmake ..
$ sudo make install
If you don’t want any console messages from feeling-blue then pass the compiler flag:
$ cmake -DVERBOSE_MODE=OFF ..
To use feeling-blue in your project, just call find_package
and link the library. Here is what your CMakeLists.txt might look like:
cmake_minimum_required(VERSION 3.17)
project(yourProject)
set(CMAKE_CXX_STANDARD 17)
find_package(feeling-blue REQUIRED)
add_executable(yourProject main.cpp)
target_link_libraries(yourProject PUBLIC feeling-blue)