Commit Graph

5 Commits

Author SHA1 Message Date
Nathan Moinvaziri
1f8eef39dc Added CMake status message when code coverage is enabled. 2022-01-29 16:44:21 +01:00
Nathan Moinvaziri
24291edbd6 Use add_compile_options in cmake which sets both C and CXX flags.
It is necessary to break apart strings that contain multiple flags so they are processed by add_compile_options properly.
2022-01-29 16:44:21 +01:00
Nathan Moinvaziri
c78eaee796 Use add_link_options in cmake code coverage detection. 2022-01-29 16:44:21 +01:00
Hans Kristian Rosbach
29fd4672a2 Fix cmake coverage detection requiring cmake 3.14 or newer. 2021-04-27 12:24:51 +02:00
Nathan Moinvaziri
0a3ab73fa8 Move code coverage detection into its own cmake file. 2021-02-17 14:59:16 +01:00