From 0261de5b18ede5496f82722d59bb257ce919cd6f Mon Sep 17 00:00:00 2001 From: seleznevae Date: Sat, 1 Feb 2020 22:55:26 +0300 Subject: [PATCH] [A] Add description with cmake integration --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 27107c9..0f503b7 100644 --- a/README.md +++ b/README.md @@ -39,6 +39,14 @@ For C++ projects that use compiler with C++11 support (and later) there are also #include "fort.hpp" ``` +### Integration with cmake + +To add **libfort** to a cmake project clone repository and add these lines to your `CMakeLists.txt` file: +```cmake +add_subdirectory(${PATH_TO_LIBFORT}/lib) +target_link_libraries(${YOUR_APP} fort) +``` + ## Documentation See guide in [tutorial](https://github.com/seleznevae/libfort/blob/develop/docs/tutorial/Tutorial.md) of the library and doxygen [API documentation](http://seleznevae.github.io/libfort).