]> git.meshlink.io Git - meshlink/commit
Improve CMake build system. feature/cmake
authorGuus Sliepen <guus@meshlink.io>
Mon, 12 Dec 2022 19:19:24 +0000 (20:19 +0100)
committerGuus Sliepen <guus@meshlink.io>
Mon, 12 Dec 2022 19:19:24 +0000 (20:19 +0100)
commitf4beb1b6273e193e6298b5c5f477070fe95b24f9
treefb950a9aff222ec1235fe1aa631ae7e2162408dc
parent895edea4c2a7e54df1fb3695f440bd3ea921d91a
Improve CMake build system.

- Fix project name.
- Let CMake decide whether to build static or shared library.
- Only enable testing if this is the main project.
- Enable C11 for the test stuite.
CMakeLists.txt
src/CMakeLists.txt
test/CMakeLists.txt