Cleanup CMake files
Diffstat:
5 files changed, 12 insertions(+), 4 deletions(-)
@@ -1,20 +1,26 @@
# ---- Variables ----
find_program(LCOV lcov REQUIRED)
find_program(GENHTML genhtml REQUIRED)
# We use variables separate from what CTest uses, because those have
# customization issues
set(
COVERAGE_TRACE_COMMAND
lcov -c -q
${LCOV} -c -q
-o "${PROJECT_BINARY_DIR}/coverage.info"
-d "${PROJECT_BINARY_DIR}"
--exclude "${PROJECT_SOURCE_DIR}/example"
--include "${PROJECT_SOURCE_DIR}/*"
--capture
--all
CACHE STRING
"; separated command to generate a trace for the 'coverage' target"
)
set(
COVERAGE_HTML_COMMAND
genhtml --legend -f -q
${GENHTML} --legend -f -q
"${PROJECT_BINARY_DIR}/coverage.info"
-p "${PROJECT_SOURCE_DIR}"
-o "${PROJECT_BINARY_DIR}/coverage_html"
@@ -3,6 +3,7 @@
set(
source/*.cpp source/*.hpp
include/*.hpp
test/*.cpp test/*.hpp
example/*.cpp example/*.hpp
CACHE STRING
"; separated patterns relative to the project source dir to format"
)
@@ -12,6 +12,7 @@
default(
source/*.cpp source/*.hpp
include/*.hpp
test/*.cpp test/*.hpp
example/*.cpp example/*.hpp
)
default(FIX NO)
@@ -8,7 +8,7 @@
{
"kind": "git",
"repository": "git://git.dimitrijedobrota.com/vcpkg-registry.git",
"baseline": "93159a6024f170bb5fedd97daad8b7dd8dbc99ab",
"baseline": "cc7113e63d7bb988a70e6b6dd91c5cd1af04bdfb",
"packages": [ "based" ]
}
]
@@ -4,7 +4,7 @@
"dependencies": [
{
"name": "based",
"version>=": "0.1"
"version>=": "0.1.1"
}
],
"default-features": [],