____ _
/ ___|| |__ __ _ _ __ _ __ ___ _ __
\___ \| '_ \ / _` | '__| '_ \ / _ \ '_ \
___) | | | | (_| | | | |_) | __/ | | |
|____/|_| |_|\__,_|_| | .__/ \___|_| |_|
|_|
Sharpen is a multithreaded C++ network library
- C++ Standard >= 14
- Windows version >= 8 or Linux kernel version >= 2.6.28
- Cmake version >= 3.15
- Msvc >= 19.10 or Clang >= 3.5 or GCC >= 5
- Build Sharpen
- Add include directory
- Add link target
#Include FetchContent
include(FetchContent)
#Get sharpen
fetchcontent_declare(sharpen GIT_REPOSITORY "sharpen repo url" GIT_TAG "git tag" SOURCE_DIR "libraries directory")
fetchcontent_makeavailable(sharpen)
#Link to your projects
target_link_libraries(your_project sharpen::sharpen)
#Include sharpen header file(optional)
include_directories("${SHARPEN_INCLUDE_DIRS}")