diff options
author | Toni Uhlig <matzeton@googlemail.com> | 2021-04-27 11:23:17 +0200 |
---|---|---|
committer | Toni Uhlig <matzeton@googlemail.com> | 2021-04-27 11:23:17 +0200 |
commit | 36cc18d2b6d0eefd00a25a02bb4a407e700b5f9f (patch) | |
tree | 575b98e789934a2153a9063d1b91afb42dc27ef4 /deps/inja/cmake/CoverallsClear.cmake | |
parent | dd086a1608b0e3cd5565174225b8197792bad4b9 (diff) | |
parent | 514cb71a6a3e116c229c5dc874369f8632530dc7 (diff) |
Merge commit '514cb71a6a3e116c229c5dc874369f8632530dc7' as 'deps/inja'
Diffstat (limited to 'deps/inja/cmake/CoverallsClear.cmake')
-rw-r--r-- | deps/inja/cmake/CoverallsClear.cmake | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/deps/inja/cmake/CoverallsClear.cmake b/deps/inja/cmake/CoverallsClear.cmake new file mode 100644 index 0000000..7206886 --- /dev/null +++ b/deps/inja/cmake/CoverallsClear.cmake @@ -0,0 +1,31 @@ +# +# The MIT License (MIT) +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# +# Copyright (C) 2014 Joakim Söderberg <joakim.soderberg@gmail.com> +# + +# do not follow symlinks in file(GLOB_RECURSE ...) +cmake_policy(SET CMP0009 NEW) + +file(GLOB_RECURSE GCDA_FILES "${PROJECT_BINARY_DIR}/*.gcda") +if(NOT GCDA_FILES STREQUAL "") + file(REMOVE ${GCDA_FILES}) +endif() |