From c6df155f6c6cb51b6b5d4424a076dc65c3c771b1 Mon Sep 17 00:00:00 2001 From: Kornel Benko Date: Sun, 14 Jul 2019 10:46:51 +0200 Subject: [PATCH] Correct description The call to cmake creates new CMakeCache.txt in the build directory. But this is bad, if we only want to see available options. --- INSTALL.cmake | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/INSTALL.cmake b/INSTALL.cmake index d765bf9ace..e0e7afde4c 100644 --- a/INSTALL.cmake +++ b/INSTALL.cmake @@ -132,7 +132,11 @@ Build options 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 -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)