]> granicus.if.org Git - libevent/commit
Fix cmake -DEVENT__COVERAGE=ON
authorAzat Khuzhin <a3at.mail@gmail.com>
Tue, 1 Nov 2016 20:33:11 +0000 (23:33 +0300)
committerAzat Khuzhin <a3at.mail@gmail.com>
Wed, 2 Nov 2016 08:36:24 +0000 (11:36 +0300)
commit40fbffc0df78085180513fd143fa87bff1e7cd6f
tree1b68cc5b670dd771978c73743c0b87c9a200bdcf
parent9585338f6cf4134c26bd8d3694d74ddaca70fbe3
Fix cmake -DEVENT__COVERAGE=ON

- do not use compiler check from the root cmake rules with syntax error,
  let CodeCoverage check it
- fix CodeCoverage to check C compiler not CXX
- case insensitive checking of CMAKE_BUILD_TYPE
- replace flags with --coverage, and fix flags with linking with
  --coverate, otherwise it will not compile during checking flags and
  fails.
CMakeLists.txt
cmake/CodeCoverage.cmake