From 70f4b20d8a279b39be7dd0a48de9899dd06fc80c Mon Sep 17 00:00:00 2001 From: Martchus Date: Sun, 13 Jan 2019 22:48:49 +0100 Subject: [PATCH] Document META_ADD_DEFAULT_CPP_UNIT_TEST_APPLICATION --- doc/buildvariables.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/doc/buildvariables.md b/doc/buildvariables.md index bb57ea1..7eacab8 100644 --- a/doc/buildvariables.md +++ b/doc/buildvariables.md @@ -15,8 +15,8 @@ * `CMAKE_CXX_FLAGS`: sets flags to be passed to the C++ compiler ### Custom variables -The following variables are read by the CMake modules provided by c++utilities -and qtutilities. +The following variables are read by the CMake modules provided by `c++utilities` +and `qtutilities`. None of these are enabled or set by default, unless stated otherwise. @@ -204,7 +204,7 @@ cmake \ The following variables are read by the CMake modules provided by c++utilities and qtutilities. -### Meta data +### Meta-data and overall project configuration * `META_PROJECT_NAME=name`: specifies the project name which is used as the application/library name, mustn't contain spaces * `META_APP_NAME=The Name`: specifies a more readible version of the project @@ -223,6 +223,8 @@ and qtutilities. `CLANG_FORMAT_ENABLED` for this project * `META_NO_INSTALL_TARGETS`: the project is not meant to be installed, eg. private test helper; prevents creation of install targets +* `META_ADD_DEFAULT_CPP_UNIT_TEST_APPLICATION`: implicitely add a source file + with a main()-entry point to test target for running CppUnit test cases ### Files * `HEADER_FILES`/`SRC_FILES`: specifies C++ header/source files