blob: 573c58e0f074c8cad816cdb37521847dc0e0694d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
;;; 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++20")
(setq-local flycheck-clang-definitions '("HAVE_CONFIG_H"))
(setq-local flycheck-clang-include-path '("../src" "../build")))))))
|