[LyX/master] Cmake build: Amend 3df9525a, extend build info in Help>About
Kornel Benko
kornel at lyx.org
Wed Mar 25 16:34:02 UTC 2020
commit 16802a7617351fa14bdf68d77f9ae7490a7719a7
Author: Kornel Benko <kornel at lyx.org>
Date: Wed Mar 25 17:50:58 2020 +0100
Cmake build: Amend 3df9525a, extend build info in Help>About
Add also the qt-version and paths of sysdir and the lyx executable
to the build info
---
CMakeLists.txt | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 202e341..3954c3b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1096,6 +1096,10 @@ set(VERSION_INFO "${VERSION_INFO}\\n C++ Compiler user flags: ${CMAKE_CXX_FLAGS
else()
set(VERSION_INFO "${VERSION_INFO}\\n C++ Compiler user flags: ${CMAKE_CXX_FLAGS_RELEASE}")
endif()
+set(VERSION_INFO "${VERSION_INFO}\\n Qt version: ${QTVERSION}")
+set(VERSION_INFO "${VERSION_INFO}\\n LyX binary dir: ${CMAKE_INSTALL_PREFIX}/${LYX_UTILITIES_INSTALL_PATH}")
+get_data_destination(dest_data)
+set(VERSION_INFO "${VERSION_INFO}\\n LyX files dir: ${CMAKE_INSTALL_PREFIX}/${dest_data}")
configure_file(${LYX_CMAKE_DIR}/config.h.cmake ${TOP_BINARY_DIR}/config.h)
More information about the lyx-cvs
mailing list