File: disable_clangformat.diff

package info (click to toggle)
pulseaudio-qt 1.2-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 488 kB
  • sloc: cpp: 3,443; makefile: 7; sh: 3
file content (28 lines) | stat: -rw-r--r-- 974 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
Author: Pino Toscano <pino@debian.org>
Description: Disable the KDEClangFormat ECM module
 It is present only in recent versions of extra-cmake-modules, and it is not
 needed to build anyway.
Last-Update: 2020-01-18
Forwarded: not-needed

--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -16,7 +16,7 @@ include(ECMSetupVersion)
 include(ECMGenerateHeaders)
 include(ECMQtDeclareLoggingCategory)
 include(ECMAddQch)
-include(KDEClangFormat)
+#include(KDEClangFormat)
 
 include(KDEInstallDirs)
 include(KDECompilerSettings NO_POLICY_SCOPE)
@@ -92,6 +92,6 @@ install(FILES
 
 feature_summary(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES)
 
-# add clang-format target for all our real source files
-file(GLOB_RECURSE ALL_CLANG_FORMAT_SOURCE_FILES *.cpp *.h)
-kde_clang_format(${ALL_CLANG_FORMAT_SOURCE_FILES})
+## add clang-format target for all our real source files
+#file(GLOB_RECURSE ALL_CLANG_FORMAT_SOURCE_FILES *.cpp *.h)
+#kde_clang_format(${ALL_CLANG_FORMAT_SOURCE_FILES})