Awesome
This is an example of how to integrate the essentials
library into your project with CMake
.
Steps:
-
Add the
essentials
library to theexternal
folder withcd external; git submodule add https://github.com/jermp/essentials
-
In the CMakeLists.txt file of your project add
add_subdirectory(external/essentials)
. -
For any target you have, add
target_link_libraries([target-name] PRIVATE ESSENTIALS)
.
Credits: Hash-Peter Lehmann.