diff options
author | Mathias Preiner <mathias.preiner@gmail.com> | 2018-10-01 15:53:30 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-01 15:53:30 -0700 |
commit | 968d12fb8dc668dde59b02923a6b9ec20ecbeb3f (patch) | |
tree | 41bd185dfea8fbf29bb5b083d38e49b3a40c3d9c /CMakeLists.txt | |
parent | 6b718154dfbf5e9f8506d6911201bb7398ba8b48 (diff) |
cmake: Add build target build-tests to build all test dependencies. (#2558)
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 4f17db83b..a42406dad 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -277,7 +277,9 @@ if(ENABLE_COVERAGE) NAME coverage EXECUTABLE ctest -j${CTEST_NTHREADS} -LE "example" - --output-on-failure $(ARGS) || exit 0) + --output-on-failure $(ARGS) || exit 0 + DEPENDS + build-tests) endif() if(ENABLE_DEBUG_CONTEXT_MM) |