hemplateSimple XML template engine |
git clone git://git.dimitrijedobrota.com/hemplate.git |
Log | Files | Refs | README | LICENSE | HACKING | CONTRIBUTING | CODE_OF_CONDUCT | BUILDING |
commit | ac365bab3123d9239817c778a63ac513d353ac1d |
parent | c5294d1c704cdb3f305970a2e3ef46fa98e6fda1 |
author | Dimitrije Dobrota < mail@dimitrijedobrota.com > |
date | Sat, 3 May 2025 11:42:55 +0200 |
Cleanup CMake files
M | cmake/coverage.cmake | | | ++++++++ -- |
M | cmake/lint-targets.cmake | | | + |
M | cmake/lint.cmake | | | + |
M | vcpkg-configuration.json | | | + - |
M | vcpkg.json | | | + - |
5 files changed, 12 insertions(+), 4 deletions(-)
diff --git a/ cmake/coverage.cmake b/ cmake/coverage.cmake
@@ -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"
diff --git a/ cmake/lint-targets.cmake b/ cmake/lint-targets.cmake
@@ -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"
)
diff --git a/ cmake/lint.cmake b/ cmake/lint.cmake
@@ -12,6 +12,7 @@
default(
source/*.cpp source/*.hpp
include/*.hpp
test/*.cpp test/*.hpp
example/*.cpp example/*.hpp
)
default(FIX NO)
diff --git a/ vcpkg-configuration.json b/ vcpkg-configuration.json
@@ -8,7 +8,7 @@
{
"kind": "git",
"repository": "git://git.dimitrijedobrota.com/vcpkg-registry.git",
"baseline": "93159a6024f170bb5fedd97daad8b7dd8dbc99ab",
"baseline": "cc7113e63d7bb988a70e6b6dd91c5cd1af04bdfb",
"packages": [ "based" ]
}
]
diff --git a/ vcpkg.json b/ vcpkg.json
@@ -4,7 +4,7 @@
"dependencies": [
{
"name": "based",
"version>=": "0.1"
"version>=": "0.1.1"
}
],
"default-features": [],