telepathy-qt: cmake: get rid of the old & ugly syntax of having arguments in else(), endif(), endmacro(), endfunction()

Alexandr Akulich kaffeine at kemper.freedesktop.org
Fri Sep 9 09:25:01 UTC 2016


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

Author: George Kiagiadakis <gkiagia at tolabaki.gr>
Date:   Tue Jun 21 14:18:21 2016 +0300

cmake: get rid of the old & ugly syntax of having arguments in else(), endif(), endmacro(), endfunction()

This is an old cmake syntax that is not required anymore.
It's ugly and makes code hard to read.

---

 CMakeLists.txt                                     | 48 +++++++--------
 TelepathyQt/CMakeLists.txt                         | 50 ++++++++--------
 TelepathyQt/Farstream/CMakeLists.txt               | 18 +++---
 .../Farstream/TelepathyQtFarstreamConfig.cmake.in  |  6 +-
 TelepathyQt/TelepathyQtConfig.cmake.in             |  6 +-
 TelepathyQt/TelepathyQtServiceConfig.cmake.in      |  2 +-
 cmake/modules/BasicFindPackageVersion.cmake.in     |  6 +-
 cmake/modules/CompilerWarnings.cmake               | 30 +++++-----
 cmake/modules/Doxygen.cmake                        |  8 +--
 cmake/modules/FindDBus.cmake                       |  2 +-
 cmake/modules/FindDBusGLib.cmake                   | 12 ++--
 cmake/modules/FindFarstream.cmake                  | 10 ++--
 cmake/modules/FindGIO.cmake                        |  2 +-
 cmake/modules/FindGIOUnix.cmake                    |  2 +-
 cmake/modules/FindGLIB2.cmake                      |  4 +-
 cmake/modules/FindGObject.cmake                    | 22 +++----
 cmake/modules/FindGStreamer.cmake                  | 18 +++---
 cmake/modules/FindLibXml2.cmake                    |  6 +-
 cmake/modules/FindPythonLibrary.cmake              | 27 +++++----
 cmake/modules/FindQt.cmake                         | 56 ++++++++---------
 cmake/modules/FindQt5.cmake                        | 22 +++----
 cmake/modules/FindTelepathyFarstream.cmake         | 10 ++--
 cmake/modules/FindTelepathyGlib.cmake              | 14 ++---
 cmake/modules/MacroLogFeature.cmake                | 44 +++++++-------
 .../modules/MacroWriteBasicCMakeVersionFile.cmake  |  2 +-
 cmake/modules/Qt5Macros.cmake                      | 20 +++----
 cmake/modules/TelepathyDefaults.cmake              | 38 ++++++------
 cmake/modules/TelepathyDist.cmake                  | 30 +++++-----
 cmake/modules/TpQtMacros.cmake                     | 70 +++++++++++-----------
 cmake_uninstall.cmake.in                           | 10 ++--
 examples/cm/CMakeLists.txt                         |  2 +-
 examples/extensions/CMakeLists.txt                 |  8 +--
 tests/dbus/CMakeLists.txt                          | 20 +++----
 tests/lib/CMakeLists.txt                           |  4 +-
 tests/lib/glib-helpers/CMakeLists.txt              |  2 +-
 tests/lib/glib/CMakeLists.txt                      |  6 +-
 tests/lib/glib/call/CMakeLists.txt                 |  2 +-
 tests/lib/glib/callable/CMakeLists.txt             |  2 +-
 tests/lib/glib/contactlist/CMakeLists.txt          |  2 +-
 tests/lib/glib/contactlist2/CMakeLists.txt         |  2 +-
 tests/lib/glib/echo/CMakeLists.txt                 |  2 +-
 tests/lib/glib/echo2/CMakeLists.txt                |  2 +-
 tests/lib/glib/future/CMakeLists.txt               |  2 +-
 tests/lib/glib/future/conference/CMakeLists.txt    |  2 +-
 .../lib/glib/future/conn-addressing/CMakeLists.txt |  2 +-
 tests/lib/glib/future/extensions/CMakeLists.txt    |  6 +-
 tools/CMakeLists.txt                               | 10 ++--
 47 files changed, 337 insertions(+), 334 deletions(-)

Diff:   http://cgit.freedesktop.org/telepathy/telepathy-qt/diff/?id=8bc552180387d5b913e5852721b7e172e8b5237a


More information about the telepathy-commits mailing list