chrberger / libcluon

libcluon is a small and efficient, single-file and header-only library written in modern C++ to power microservices.
Mozilla Public License 2.0
100 stars 13 forks source link

No switch for disabling the tests in a CMake build? #12

Closed freol35241 closed 2 years ago

freol35241 commented 3 years ago

Using the CMakeLists.txt from the libcluon folder I cant seem to find a way to disable the tests from being configured. This would make life easier when building from source instead of using the single-file, header-only distribution.

chrberger commented 2 years ago

Added with https://github.com/chrberger/libcluon/commit/fbed1f50c0ace0b318ff2b9b709fa4808bfa359e cmake -D SKIP_TESTS=1 ..