1. 16 Aug, 2019 2 commits
    • Daan De Meyer's avatar
      Expand leftover `SRCS` abbrevation. · 8521250f
      Daan De Meyer authored
    • Daan De Meyer's avatar
      Further cleanup addons CMake scripts. · 58e19566
      Daan De Meyer authored
      - Update CMake minimum required version to CMake 3.1 which is when
      `target_sources` was added.
      - Use `target_sources` even when commands that work on
      sources variables are used. Instead of appending the generated sources
      to an existing sources variable, we store them in a temporary variable
      and immediately add them to the corresponding target with
      - Remove unnecessary dependencies on `kdeinit_kate`.
      - Remove the intermediary katefiletree static library and have the tests
      build the single required source file manually instead which is
      consistent with how the other addons with tests work.
  2. 27 Jul, 2019 1 commit
    • Christoph Cullmann's avatar
      Further clean up addons CMake scripts. · c4cfdf3b
      Christoph Cullmann authored
      - Reduce addon dependencies to the bare minimum required.
      - Move source files out of sessionapplet/engine directory for
        consistency with the other addons.
      - Ensure each addon is built only if all of its dependencies are found.
      - Remove .kateconfig file in close-expect-like addon directory.
      - Remove comments with no added value.
      Test Plan: Make sure builds as before with the same (or an extended) set of addons.
      Reviewers: #kate, cullmann
      Reviewed By: #kate, cullmann
      Subscribers: cullmann, kwrite-devel
      Tags: #kate
      Differential Revision: https://phabricator.kde.org/D22773
  3. 25 Jul, 2019 1 commit
    • Christoph Cullmann's avatar
      Clean up Kate addons CMake scripts. · 522b9e2a
      Christoph Cullmann authored
      This is the first in a series of revisions modernizing the Kate CMake scripts.
      I'm submitting the changes to the addons directory first as they form a
      nicely separated list of changes.
      Note that if https://phabricator.kde.org/D22698 and
      https://phabricator.kde.org/D22699 are merged, most if not all of the
      remaining source lists in the addons directory can be removed in favor of
      working with targets.
      List of changes made:
      - Standardize style on two spaces and no whitespace between commands and
      - Remove directory commands in favor of target-based commands as
        recommended by modern CMake.
      - Remove usage of `qt5_add_resources` in favor of `CMAKE_AUTORCC` and
        adding .qrc files directly to a target's sources.
      - Remove usage of source lists (where possible) in favor of CMake 3.1's
        `target_sources` command.
      - Remove the CMake binary directory as an include directory from most
      - Remove unnecessary comments, CMake project calls, config files, etc
        from addon CMake scripts.
      - Remove `HAVE_CTERMID` from config.h and move the check and
        addition  to compile definitions to the project addon CMake script as its only
        used in the project plugin sources.
      Test Plan: Apply changes and verify Kate still builds and works exactly as before.
      Reviewers: #kate, cullmann
      Reviewed By: #kate, cullmann
      Subscribers: cullmann, kossebau, turbov, asturmlechner, kwrite-devel
      Tags: #kate
      Differential Revision: https://phabricator.kde.org/D22721
  4. 01 Aug, 2018 1 commit
    • Heiko Becker's avatar
      Honor BUILD_TESTING · 7a6e7342
      Heiko Becker authored
      Although ecm_optional_add_subdirectory(autotests) allows to skip
      building the autotests with -DBUILD_autotests=FALSE, it doesn't seem
      reasonable to have two options controlling similar behaviour and
      BUILD_TESTING is the de-facto standard for cmake and already used
      when discovering Qt5::Test.
      Furthermore it avoids a cmake warning when BUILD_TESTING is set to
      FALSE because Qt5::Test is passed to target_link_libraries but
      isn't a valid target.
      Test Plan: Warning disappears and builds successfully
      Reviewers: #kate
      Subscribers: kwrite-devel
      Tags: #kate
      Differential Revision: https://phabricator.kde.org/D14538
  5. 17 Oct, 2015 1 commit
  6. 04 Nov, 2014 1 commit
  7. 10 Sep, 2014 1 commit
  8. 07 Sep, 2014 1 commit
  9. 28 Jul, 2014 1 commit
  10. 10 Feb, 2014 1 commit
  11. 24 Jan, 2014 1 commit
  12. 19 Jan, 2014 3 commits
  13. 21 Dec, 2013 1 commit
  14. 14 Apr, 2013 1 commit
  15. 12 Aug, 2008 1 commit
    • Dominik Haumann's avatar
      initiall import of backtrace browser plugin. not added to CMakeLists.txt yet. · 094085f2
      Dominik Haumann authored
      What it does:
      - you add e.g. the KDE/trunk checkout to the list of folders that are searched
        for source files
      - the backtrace browser plugin will search for all files and keep an index of it
      - if you open a backtrace (from gdb), it is displayed in a list view
      - clicking on an item looks in the index and picks the (usually) correct file.
      - this file then is opened in kate with the correct line
      Backtrace navigation is pretty fast that way, especially if you have lots of code
      you maybe even don't know.
      svn path=/trunk/KDE/kdesdk/kate/; revision=845662