named_param can be installed in three ways :
- Copy this folder in your project
- Add the following to your include path :
-I named_param/ \
-I named_param/deps/cpp-pre/preprocess/ \
Install the library
mkdir build/ && cd build/
cmake ..
make installYou can tweak destination with -DCMAKE_INSTALL_PREFIX=/install/path to change the default /usr/local.
find_package(named_param REQUIRED)
add_executable(app your_code.cpp)
target_link_libraries(app cpp-pre::named_param)Add to your include path :
INSTALL_PREFIX/include/named_param/deps/
INSTALL_PREFIX/include/
Install the library
mkdir build/ && cd build/
cmake .. -DINGLUED=OFF
make installThis library was built with #inglued <> therefore it forwards dependencies with it, but you might prefer the use of your own deps, therefore simply disable them via INGLUED=OFF.