diff options
| author | Joel Klinghed <the_jk@spawned.biz> | 2025-09-03 00:49:27 +0200 |
|---|---|---|
| committer | Joel Klinghed <the_jk@spawned.biz> | 2025-09-03 00:49:27 +0200 |
| commit | d75b25d50f4df655d1e69ff900cfeee823039296 (patch) | |
| tree | e4afe9877021c4c76ffdf8dbbcc25c0c7f1a7f34 /.dir-locals.el | |
Initial commit
Only a basic argument parser to start with.
Diffstat (limited to '.dir-locals.el')
| -rw-r--r-- | .dir-locals.el | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/.dir-locals.el b/.dir-locals.el new file mode 100644 index 0000000..573c58e --- /dev/null +++ b/.dir-locals.el @@ -0,0 +1,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"))))))) |
