Skip to content

KnownSpace/Sharpen

Repository files navigation

Sharpen

Codacy Badge

____  _                                 
/ ___|| |__   __ _ _ __ _ __   ___ _ __  
\___ \| '_ \ / _` | '__| '_ \ / _ \ '_ \ 
 ___) | | | | (_| | |  | |_) |  __/ | | |
|____/|_| |_|\__,_|_|  | .__/ \___|_| |_|
                       |_|

Sharpen is a multithreaded C++ network library

Requires:

  • 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

To build:

Just run build.sh or build.cmd

Use in your projects:

  1. Build Sharpen
  2. Add include directory
  3. Add link target

Use in your cmake projects:

#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}")