[PATCH 2/2] CMake: report CMake version

2023-09-04 Thread yegorslists
From: Yegor Yefremov --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 24da84d..39857a2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,7 @@ cmake_minimum_required(VERSION 2.8.12 FATAL_ERROR) +message(STATUS "CMake

[PATCH 1/2] CMake: use dedicated recipe for documentation generation

2023-09-04 Thread yegorslists
From: Yegor Yefremov Use PROJECT_SOURCE_DIR and PROJECT_BINARY_DIR to refer to the top source directory. --- CMakeLists.txt| 22 +- doc/CMakeLists.txt| 26 ++ doc/Doxyfile.in | 8 doc/Doxyfile.xml.in | 2 +-