;;; Directory Local Variables ;;; 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")))))) (c++-mode . ((eval . (let ((project-path (locate-dominating-file default-directory ".dir-locals.el"))) (setq-local flycheck-clangcheck-build-path (concat project-path "build")))))))