Options could be passed by the -D prefix when running cmake.
Available options will be listed on each cmake run.
- "cmake . -Dhelp=1" lists all available options:
+ "cmake -Dhelp=1 -S <lyx-source-dir> -B /tmp" lists all available options:
+ !!! Mark, that using this command creates CMakeCache.txt and CMakeFiles
+ !!! which have to be removed afterwards. Therefore it is better to explicitly
+ !!! specify a temporary build directory (/tmp in this example)
+
# Available on all systems/compilers
-- LYX_CPACK = OFF : Use the CPack management (Implies LYX_INSTALL option)
-- LYX_ENABLE_KEYTESTS = ON : Enable for keytests
-- LYX_ASAN = OFF : Use address sanitizer
-- LYX_USE_FILEDIALOG = NATI : Use native or QT file dialog (QT NATIVE)
- -- LYX_USE_QT = QT5 : Use Qt version as frontend (AUTO QT4 QT5)
+ -- LYX_USE_QT = QT6 : Use Qt version as frontend (AUTO QT5 QT6)
-- LYX_DISABLE_CALLSTACK_PRI= OFF : do not print a callstack when crashing
-- LYX_EXTERNAL_Z = ON : OFF := Build 3rdparty lib zlib
-- LYX_EXTERNAL_ICONV = ON : OFF := Build 3rdparty lib iconvlib
You need additionally these packages:
* g++
* cmake
- * qt4-dev-tools + qt4-qmake or qttools5-dev-tools + qt5-qmake
+ * qttools5-dev-tools + qt5-qmake or qt6-base-dev-tools + qt6-tools-dev