File: setup-flycheck-gtk4.el

package info (click to toggle)
coot 1.1.18%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 219,964 kB
  • sloc: cpp: 495,934; python: 35,043; ansic: 26,143; lisp: 22,768; sh: 13,186; makefile: 2,746; awk: 441; xml: 245; csh: 14
file content (76 lines) | stat: -rw-r--r-- 3,759 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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76

;;; Code:

;;; how do I add "-Wno-unknown-pragmas" here?

;; remove USE_GUILE=1 for now
;; "USE_MOLECULES_TO_TRIANGLES=1"
;; "HAVE_GOOCANVAS=1"
;;
;(setq flycheck-gcc-definitions   (list "HAVE_CXX_THREAD=1" "HAVE_GSL=1" "VERSION=\"0.9.9-pre\"" "PACKAGE=Coot" "PACKAGE_VERSION=1.1.11+" "HAVE_BOOST=1" "PKGDATADIR=11111" "USE_PYTHON=1" "PYTHONDIR=/asdf" "PKGPYTHONDIR=asdf" "USE_LIBCURL=1" "BUILD_CURLEW=1" "COOT_BUILD_INFO_STRING=x" "_OPENMP=1" "MAKE_ENHANCED_LIGAND_TOOLS=1" "WITH_SOUND=1" "USE_GEMMI=1" "HAVE_RSVG=1" "HAVE_SSMLIB=1" "RDKIT_HAS_CAIRO_SUPPORT=1"))

(setq flycheck-clang-definitions (list "HAVE_CXX_THREAD=1" "HAVE_GSL=1" "VERSION=\"0.9.9-pre\"" "PACKAGE=Coot" "PACKAGE_VERSION=1.1.11+" "HAVE_BOOST=1" "HAVE_BOOST_BASED_THREAD_POOL_LIBRARY=1" "PKGDATADIR=11111" "USE_PYTHON=1" "PYTHONDIR=/asdf" "PKGPYTHONDIR=asdf" "USE_LIBCURL=1" "BUILD_CURLEW=1" "COOT_BUILD_INFO_STRING=x" "_OPENMP=1" "MAKE_ENHANCED_LIGAND_TOOLS=1" "WITH_SOUND=1" "USE_GEMMI=1" "HAVE_RSVG=1" "HAVE_SSMLIB=1" "RDKIT_HAS_CAIRO_SUPPORT=1" "NB_VERSION_MAJOR=1"))

;; this is configured now, we don't need it on the command line
;;  "HAVE_BOOST_BASED_THREAD_POOL_LIBRARY=1"

(setq flycheck-gcc-args   '("-Wno-unknown-pragmas" "-std=c++17"))
(setq flycheck-clang-args '("-Wno-unknown-pragmas" "-std=c++17"))
(setq flycheck-gcc-language-standard   "c++17")
(setq flycheck-clang-language-standard "c++17")

(setq build-path-list
  (list

   "." ".." "../.."
   "/usr/lib/x86_64-linux-gnu/glib-2.0/include"
   "/home/paule/autobuild/Linux-penelope-arch-gtk4/include"
   "/home/paule/autobuild/Linux-penelope-arch-gtk4/include/coot"
   "/home/paule/autobuild/Linux-penelope-arch-gtk4/include/rdkit"
   "/home/paule/autobuild/Linux-penelope-arch-gtk4/include/boost"
   "/home/paule/autobuild/Linux-penelope-arch-gtk4/include/python3.11"
   "/home/paule/autobuild/Linux-penelope-arch-gtk4/include/MoleculesToTriangles"
   "/home/paule/autobuild/Linux-penelope-arch-gtk4/include/gsl"
   "/home/paule/python3/include/python3.8"
   "/home/paule/glm/include"
   "/home/paule/ogg-vorbis/include"
   "/home/paule/assimp/include"
   "/home/paule/autobuild/build-for-chapi-arch-gtk4/lib/python3.12/site-packages/nanobind/include" ; nanobind.h
   "/lmb/home/pemsley/autobuild/Linux-hal.lmb.internal-gtk4/include/python3.11"
   "/usr/include/glib-2.0"
   "/usr/lib64/glib-2.0/include"
   "/usr/lib64/graphene-1.0/include"
   "/lmb/home/pemsley/autobuild/Linux-hal.lmb.internal-gtk4/include"

   "/home/paule/python3/include/python3.9"
   "/home/paule/autobuild/build-for-chapi-gtk4/lib/python3.10/site-packages/nanobind/include"
   "/home/paule/autobuild/build-for-chapi-arch-gtk4/lib/python3.12/site-packages/nanobind/include"
   "/home/paule/autobuild/Linux-penelope-gtk4-python/include"

   "/lmb/home/pemsley/autobuild/coot-stable/include/rdkit"

   ;; from https://github.com/Wilfred/flycheck-pkg-config/issues/2
   "/usr/include/gtk-4.0"
   "/home/paule/gtk4/include/gtk-4.0"
   "/usr/include/graphene-1.0"
   "/usr/lib/graphene-1.0/include"
   "/usr/include/sysprof-6"
   "/home/paule/gtk/lib/x86_64-linux-gnu/graphene-1.0/include" ;; for graphene-config.h
   "/usr/include/libpng16" "/usr/include/gdk-pixbuf-2.0"
   "/usr/include/libdrm"
   "/usr/include/librsvg-2.0"
   "/usr/include/harfbuzz" "/usr/include/freetype2"
   "/usr/lib/glib-2.0/include" "/usr/include/glib-2.0"
   "/usr/include/libpng16" "/usr/include/pixman-1"
   "/usr/include/cairo" "/usr/include/atk-1.0" "/usr/include/pango-1.0"
   "/usr/include/gio-unix-2.0"
   "/usr/lib/dbus-1.0/include" "/usr/include/dbus-1.0"
   "/usr/include/at-spi-2.0"
   "/usr/include/at-spi2-atk/2.0"
   ))


(setq flycheck-gcc-include-path build-path-list)
(setq flycheck-clang-include-path build-path-list)

;;; setup-flycheck.el ends here