Fraunhofer-IIS / libjapi

libjapi is a universal JSON to C API library. It receives newline-delimited JSON (NDJSON) messages via TCP and calls registered C functions. A JSON response is returned for each request. Furthermore, it is also possible to create push services, which asynchronously push JSON messages to the clients subscribed to them.
MIT License
3 stars 1 forks source link

enable tests by default and always include googletest #129

Closed ndml28 closed 4 months ago

ndml28 commented 4 months ago

Tests can now be enabled and disabled by a CMAKE variable. Also, googletest is always fetched as the system wide installation can cause linker issues that are ugly to resolve.

ndml28 commented 4 months ago

@vornkat-iis sorry formatting came from cmake auto formatter. I tried to restore the format from before. However kept some small changes let me know if it is still too much.