summaryrefslogtreecommitdiff
path: root/.dir-locals.el
blob: 36206e4275d128ee261ba11e04101aabbd08237d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
;;; Directory Local Variables         -*- no-byte-compile: t; -*-
;;; For more information see (info "(emacs) Directory Variables")

((c++-mode . ((eval
               .
               (let ((project-path
                      (locate-dominating-file default-directory ".dir-locals.el")))
                 (setq-local flycheck-clangcheck-build-path
                             (concat project-path "build"))
                 (setq-local flycheck-clang-language-standard "c++23")
                 (setq-local flycheck-clang-definitions '("HAVE_CONFIG_H"))
                 (setq-local flycheck-clang-include-path '("../src" "../build"
"/usr/include/librsvg-2.0" "/usr/include/gdk-pixbuf-2.0" "/usr/include/glycin-2" "/usr/include/cairo" "/usr/include/libxml2" "/usr/include/pango-1.0" "/usr/include/libmount" "/usr/include/blkid" "/usr/include/fribidi" "/usr/include/pixman-1" "/usr/include/harfbuzz" "/usr/include/freetype2" "/usr/include/libpng16" "/usr/include/glib-2.0" "/usr/lib/glib-2.0/include" "/usr/include/sysprof-6")))))))