telepathy-qt: CMake: Add options the first

Alexandr Akulich kaffeine at kemper.freedesktop.org
Mon Nov 11 17:28:14 UTC 2019


Module: telepathy-qt
Branch: master
Commit: 49bc2ee3bb5cca1c6551cdaf57a033240474e3fa
URL:    http://cgit.freedesktop.org/telepathy/telepathy-qt/commit/?id=49bc2ee3bb5cca1c6551cdaf57a033240474e3fa

Author: Alexander Akulich <akulichalexander at gmail.com>
Date:   Thu Nov  7 02:20:32 2019 +0300

CMake: Add options the first

---

 CMakeLists.txt | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 64e40089..1956cb85 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -45,6 +45,17 @@ set(CMAKE_CXX_STANDARD 11)
 set(CMAKE_CXX_STANDARD_REQUIRED ON)
 set(CMAKE_CXX_EXTENSIONS OFF)
 
+# Add an option for compiling tp-qt-service
+option(ENABLE_SERVICE_SUPPORT "Enable compilation of service side bindings for Telepathy-Qt" TRUE)
+# Add an option to select type of service library
+option(FORCE_STATIC_SERVICE_LIBRARY "Force Telepathy-Qt service to be a static library." FALSE)
+# Add an option for compiling examples
+option(ENABLE_EXAMPLES "Enable compilation of examples for Telepathy-Qt" TRUE)
+# Add an option for compiling Farstream
+option(ENABLE_FARSTREAM "Enable compilation of Farstream bindings" TRUE)
+# Add an option for building tests
+option(ENABLE_TESTS "Enable compilation of automated tests" TRUE)
+
 # This file contains all the needed initialization macros
 include(TelepathyDefaults)
 
@@ -93,17 +104,6 @@ else ()
     set(TP_QT_LIBRARY_VERSION ${TP_QT_ABI_VERSION}.${TP_QT_MAJOR_VERSION}.${TP_QT_MINOR_VERSION}.${TP_QT_MICRO_VERSION}.${TP_QT_NANO_VERSION})
 endif ()
 
-# Add an option for compiling tp-qt-service
-option(ENABLE_SERVICE_SUPPORT "Enable compilation of service side bindings for Telepathy-Qt" TRUE)
-# Add an option to select type of service library
-option(FORCE_STATIC_SERVICE_LIBRARY "Force Telepathy-Qt service to be a static library." FALSE)
-# Add an option for compiling examples
-option(ENABLE_EXAMPLES "Enable compilation of examples for Telepathy-Qt" TRUE)
-# Add an option for compiling Farstream
-option(ENABLE_FARSTREAM "Enable compilation of Farstream bindings" TRUE)
-# Add an option for building tests
-option(ENABLE_TESTS "Enable compilation of automated tests" TRUE)
-
 # The doxygen macro requires Qt to have been looked up to enable crosslinking
 include(Doxygen)
 



More information about the telepathy-commits mailing list