From cc2140d66712bda681574bfc34d4f17edef06504 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sun, 4 Jul 2021 12:07:04 +0200 Subject: [PATCH] Add the usual option BUILD_ALL. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- CMakeLists.txt | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6dd2a2a..f692d6f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -64,17 +64,18 @@ option( WITH_SAX_LOADER "Use SAX document loading (experimental)" ${WITH_ALL_ ##### user requested modules #################### -option( BUILD_DOC "Build documentation" ON ) -option( BUILD_TRANSLATIONS "Build translations" ON ) -option( BUILD_XMLCATALOG "" OFF ) - -option( BUILD_AMAZON_SUPPORT "Build Amazon.com searching support" ON ) -option( BUILD_IMDB_SUPPORT "Build IMDb searching support" ON ) -option( BUILD_CDTEXT_SUPPORT "Build CD-Text support (Linux only)" ON ) -option( BUILD_OOO_SUPPORT "Build LibreOffice/OpenOffice.org support" OFF ) -option( BUILD_EXEMPI_SUPPORT "Build exempi support" ON ) -option( BUILD_POPPLER_SUPPORT "Build poppler support" ON ) -option( BUILD_WEBCAM_SUPPORT "Build support for scanning barcodes (experimental)" ON ) +option( BUILD_ALL "Build all" ON ) + +option( BUILD_DOC "Build documentation" ${BUILD_ALL} ) +option( BUILD_TRANSLATIONS "Build translations" ${BUILD_ALL} ) + +option( BUILD_AMAZON_SUPPORT "Build Amazon.com searching support" ${BUILD_ALL} ) +option( BUILD_IMDB_SUPPORT "Build IMDb searching support" ${BUILD_ALL} ) +option( BUILD_CDTEXT_SUPPORT "Build CD-Text support (Linux only)" ${BUILD_ALL} ) +option( BUILD_OOO_SUPPORT "Build LibreOffice/OpenOffice.org support" OFF ) +option( BUILD_EXEMPI_SUPPORT "Build exempi support" ${BUILD_ALL} ) +option( BUILD_POPPLER_SUPPORT "Build poppler support" ${BUILD_ALL} ) +option( BUILD_WEBCAM_SUPPORT "Build support for scanning barcodes (experimental)" ${BUILD_ALL} ) ##### configure checks ##########################