1. 25 Jun, 2022 1 commit
    • Friedrich W. H. Kossebau's avatar
      ECMDeprecationSettings: enable warnings by default · 0064cf77
      Friedrich W. H. Kossebau authored
      The main target consumers of this macro currently (should) want to be
      informed about new deprecations as early as possible. As do the authors
      of the warnings.
      
      So instead let's make no warnings an opt-in. Not documenting the
      now deprecated flag in the docs, given no wide-spread use yet, just
      supporting still in the code with a note to users.
      0064cf77
  2. 17 Jun, 2022 1 commit
  3. 16 Jun, 2022 1 commit
  4. 15 Jun, 2022 2 commits
  5. 12 Jun, 2022 11 commits
  6. 07 Jun, 2022 1 commit
  7. 06 Jun, 2022 1 commit
    • Christoph Cullmann's avatar
      fix linking on OpenBSD · b01c2150
      Christoph Cullmann authored and David Faure's avatar David Faure committed
      OpenBSD has a similar patch inside the ports, see
      
      Allow KDE5 libraries to be built without having to link to libc explicitly.
      Index: kde-modules/KDECompilerSettings.cmake
      --- kde-modules/KDECompilerSettings.cmake.orig
      +++ kde-modules/KDECompilerSettings.cmake
      @@ -530,6 +530,8 @@ endfunction()
       # Better diagnostics (warnings, errors)
       ############################################################
      
      +set(ALLOW_UNDEFINED_LIB_SYMBOLS No CACHE BOOL "allow undefined symbols in generated shared objects")
      +
       if ((CMAKE_CXX_COMPILER_ID STREQUAL "GNU" AND NOT APPLE) OR
               (CMAKE_CXX_COMPILER_ID MATCHES "Clang" AND NOT APPLE) OR
               (CMAKE_CXX_COMPILER_ID STREQUAL "Intel" AND NOT WIN32))
      @@ -537,9 +539,11 @@ if ((CMAKE_CXX_COMPILER_ID STREQUAL "GNU" AND NOT APPL
           set(CMAKE_SHARED_LINKER_FLAGS "-Wl,--fatal-warnings ${CMAKE_SHARED_LINKER_FLAGS}")
           set(CMAKE_MODULE_LINKER_FLAGS "-Wl,--fatal-warnings ${CMAKE_MODULE_LINKER_FLAGS}")
      
      -    # Do not allow undefined symbols, even in non-symbolic shared libraries
      -    set(CMAKE_SHARED_LINKER_FLAGS "-Wl,--no-undefined ${CMAKE_SHARED_LINKER_FLAGS}")
      -    set(CMAKE_MODULE_LINKER_FLAGS "-Wl,--no-undefined ${CMAKE_MODULE_LINKER_FLAGS}")
      +    if (NOT ${ALLOW_UNDEFINED_LIB_SYMBOLS})
      +        # Do not allow undefined symbols, even in non-symbolic shared libraries
      +        set(CMAKE_SHARED_LINKER_FLAGS "-Wl,--no-undefined ${CMAKE_SHARED_LINKER_FLAGS}")
      +        set(CMAKE_MODULE_LINKER_FLAGS "-Wl,--no-undefined ${CMAKE_MODULE_LINKER_FLAGS}")
      +    endif()
       endif()
      
       set(_KDE_GCC_COMMON_WARNING_FLAGS "-Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef")
      b01c2150
  8. 03 Jun, 2022 1 commit
  9. 02 Jun, 2022 1 commit
  10. 01 Jun, 2022 2 commits
  11. 30 May, 2022 1 commit
    • Alexander Lohnau's avatar
      KDEGitCommitHooks: Check if KDEClangFormat was included · 79caa00d
      Alexander Lohnau authored
      If the module is not included, the current message would be misleading.
      
      Including the module by default is undesirable, because we print out a warning
      that we do not override an existing module. While this warning is reasonable in most
      cases, it is annoying for projects that have a custom clang-format file.
      
      Checking if a .clang-format file exists and if not including KDEClangFormat is fragile,
      because it depends on the include order of the modules.
      
      Considering all that, a proper warning with instructions on how to fix the issue
      is IMHO the best way to go.
      79caa00d
  12. 14 May, 2022 1 commit
  13. 10 May, 2022 1 commit
  14. 01 May, 2022 1 commit
  15. 23 Apr, 2022 2 commits
  16. 20 Apr, 2022 2 commits
  17. 15 Apr, 2022 1 commit
    • Ahmad Samir's avatar
      ECMQueryQt: always use CMake target to find the qmake/qtpaths binary · 01f41fe3
      Ahmad Samir authored and Christophe Giboudeaux's avatar Christophe Giboudeaux committed
      This means removing the find_program() logic, since it was only useful if
      we don't want to make CMake spend time finding a compiler; so it was only
      useful for building modules that don't need a compiler at all, wallpapers,
      icon themes ...etc; so find_program() is only useful when it comes before
      the find_package() and enable_language() calls. Thanks to Christophe
      Giboudeaux for the explanation. This might make the build time for such
      modules a tiny bit longer, but it's worth it to make finding qmake/qtpaths
      01f41fe3
  18. 10 Apr, 2022 2 commits
  19. 09 Apr, 2022 1 commit
  20. 05 Apr, 2022 1 commit
  21. 30 Mar, 2022 1 commit
  22. 28 Mar, 2022 1 commit
  23. 26 Mar, 2022 3 commits