mattgodbolt / seasocks

Simple, small, C++ embeddable webserver with WebSockets support
BSD 2-Clause "Simplified" License
734 stars 120 forks source link

Allow disabling the example applications. #118

Closed iwanders closed 5 years ago

iwanders commented 5 years ago

Title pretty much explains it; provide an option to disable the example applications from the app/c folder. When used in an embedded project these are unnecessary.

I broke convention in the option naming and prefixed it with SEASOCKS_, this is because this avoids option name collisions with multiple embedded libraries in one cmake project.

codecov[bot] commented 5 years ago

Codecov Report

Merging #118 into master will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #118   +/-   ##
=======================================
  Coverage   36.78%   36.78%           
=======================================
  Files          52       52           
  Lines        2248     2248           
=======================================
  Hits          827      827           
  Misses       1421     1421

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 44c1aff...5656c43. Read the comment docs.

offa commented 5 years ago

Thanks for your contribution @iwanders. :+1: