|
Packit |
5ce601 |
;;; Directory Local Variables
|
|
Packit |
5ce601 |
;;; For more information see (info "(emacs) Directory Variables")
|
|
Packit |
5ce601 |
|
|
Packit |
5ce601 |
((c-mode .
|
|
Packit |
5ce601 |
((eval .
|
|
Packit |
5ce601 |
(set (make-local-variable 'directory-of-current-dir-locals-file)
|
|
Packit |
5ce601 |
(file-name-directory (locate-dominating-file default-directory ".dir-locals.el"))
|
|
Packit |
5ce601 |
)
|
|
Packit |
5ce601 |
)
|
|
Packit |
5ce601 |
(eval .
|
|
Packit |
5ce601 |
(set (make-local-variable 'include-directories)
|
|
Packit |
5ce601 |
(list
|
|
Packit |
5ce601 |
|
|
Packit |
5ce601 |
;; top directory
|
|
Packit |
5ce601 |
(expand-file-name
|
|
Packit |
5ce601 |
(concat directory-of-current-dir-locals-file "./"))
|
|
Packit |
5ce601 |
|
|
Packit |
5ce601 |
;; libisc
|
|
Packit |
5ce601 |
(expand-file-name
|
|
Packit |
5ce601 |
(concat directory-of-current-dir-locals-file "lib/isc/unix/include"))
|
|
Packit |
5ce601 |
(expand-file-name
|
|
Packit |
5ce601 |
(concat directory-of-current-dir-locals-file "lib/isc/pthreads/include"))
|
|
Packit |
5ce601 |
(expand-file-name
|
|
Packit |
5ce601 |
(concat directory-of-current-dir-locals-file "lib/isc/include"))
|
|
Packit |
5ce601 |
(expand-file-name
|
|
Packit |
5ce601 |
(concat directory-of-current-dir-locals-file "lib/isc"))
|
|
Packit |
5ce601 |
(expand-file-name
|
|
Packit |
5ce601 |
(concat directory-of-current-dir-locals-file "lib/isc/netmgr"))
|
|
Packit |
5ce601 |
|
|
Packit |
5ce601 |
;; libdns
|
|
Packit |
5ce601 |
(expand-file-name
|
|
Packit |
5ce601 |
(concat directory-of-current-dir-locals-file "lib/dns/include"))
|
|
Packit |
5ce601 |
(expand-file-name
|
|
Packit |
5ce601 |
(concat directory-of-current-dir-locals-file "lib/dns"))
|
|
Packit |
5ce601 |
|
|
Packit |
5ce601 |
;; libisccc
|
|
Packit |
5ce601 |
(expand-file-name
|
|
Packit |
5ce601 |
(concat directory-of-current-dir-locals-file "lib/isccc/include"))
|
|
Packit |
5ce601 |
|
|
Packit |
5ce601 |
;; libisccfg
|
|
Packit |
5ce601 |
(expand-file-name
|
|
Packit |
5ce601 |
(concat directory-of-current-dir-locals-file "lib/isccfg/include"))
|
|
Packit |
5ce601 |
|
|
Packit |
5ce601 |
;; libns
|
|
Packit |
5ce601 |
(expand-file-name
|
|
Packit |
5ce601 |
(concat directory-of-current-dir-locals-file "lib/ns/include"))
|
|
Packit |
5ce601 |
|
|
Packit |
5ce601 |
;; libirs
|
|
Packit |
5ce601 |
(expand-file-name
|
|
Packit |
5ce601 |
(concat directory-of-current-dir-locals-file "lib/irs/include"))
|
|
Packit |
5ce601 |
|
|
Packit |
5ce601 |
;; libbind9
|
|
Packit |
5ce601 |
(expand-file-name
|
|
Packit |
5ce601 |
(concat directory-of-current-dir-locals-file "lib/bind9/include"))
|
|
Packit |
5ce601 |
|
|
Packit |
5ce601 |
;; bin
|
|
Packit |
5ce601 |
(expand-file-name
|
|
Packit |
5ce601 |
(concat directory-of-current-dir-locals-file "bin/check"))
|
|
Packit |
5ce601 |
(expand-file-name
|
|
Packit |
5ce601 |
(concat directory-of-current-dir-locals-file "bin/confgen/include"))
|
|
Packit |
5ce601 |
(expand-file-name
|
|
Packit |
5ce601 |
(concat directory-of-current-dir-locals-file "bin/confgen"))
|
|
Packit |
5ce601 |
(expand-file-name
|
|
Packit |
5ce601 |
(concat directory-of-current-dir-locals-file "bin/confgen/include"))
|
|
Packit |
5ce601 |
(expand-file-name
|
|
Packit |
5ce601 |
(concat directory-of-current-dir-locals-file "bin/dig/include"))
|
|
Packit |
5ce601 |
(expand-file-name
|
|
Packit |
5ce601 |
(concat directory-of-current-dir-locals-file "bin/named/include"))
|
|
Packit |
5ce601 |
(expand-file-name
|
|
Packit |
5ce601 |
(concat directory-of-current-dir-locals-file "bin/named/unix/include"))
|
|
Packit |
5ce601 |
(expand-file-name
|
|
Packit |
5ce601 |
(concat directory-of-current-dir-locals-file "bin/rndc/include"))
|
|
Packit |
5ce601 |
(expand-file-name
|
|
Packit |
5ce601 |
(concat directory-of-current-dir-locals-file "bin/dnssec/include"))
|
|
Packit |
5ce601 |
(expand-file-name
|
|
Packit |
5ce601 |
(concat directory-of-current-dir-locals-file "bin/named/include"))
|
|
Packit |
5ce601 |
(expand-file-name
|
|
Packit |
5ce601 |
(concat directory-of-current-dir-locals-file "bin/rndc/include"))
|
|
Packit |
5ce601 |
|
|
Packit |
5ce601 |
(expand-file-name "/usr/local/opt/openssl@1.1/include")
|
|
Packit |
5ce601 |
(expand-file-name "/usr/local/opt/libxml2/include/libxml2")
|
|
Packit |
5ce601 |
(expand-file-name "/usr/local/opt/json-c/include/json-c/")
|
|
Packit |
5ce601 |
(expand-file-name "/usr/local/include")
|
|
Packit |
5ce601 |
)
|
|
Packit |
5ce601 |
)
|
|
Packit |
5ce601 |
)
|
|
Packit |
5ce601 |
|
|
Packit |
5ce601 |
(eval setq flycheck-clang-include-path include-directories)
|
|
Packit |
5ce601 |
(eval setq flycheck-cppcheck-include-path include-directories)
|
|
Packit |
5ce601 |
(eval setq flycheck-gcc-include-path include-directories)
|
|
Packit |
5ce601 |
(eval setq flycheck-clang-args
|
|
Packit |
5ce601 |
(list
|
|
Packit |
5ce601 |
"-include"
|
|
Packit |
5ce601 |
(expand-file-name
|
|
Packit |
5ce601 |
(concat directory-of-current-dir-locals-file "config.h"))
|
|
Packit |
5ce601 |
)
|
|
Packit |
5ce601 |
)
|
|
Packit |
5ce601 |
(eval setq flycheck-gcc-args
|
|
Packit |
5ce601 |
(list
|
|
Packit |
5ce601 |
"-include"
|
|
Packit |
5ce601 |
(expand-file-name
|
|
Packit |
5ce601 |
(concat directory-of-current-dir-locals-file "config.h"))
|
|
Packit |
5ce601 |
)
|
|
Packit |
5ce601 |
)
|
|
Packit |
5ce601 |
(eval setq flycheck-cppcheck-args
|
|
Packit |
5ce601 |
(list
|
|
Packit |
5ce601 |
"--enable=all"
|
|
Packit |
5ce601 |
"--suppress=missingIncludeSystem"
|
|
Packit |
5ce601 |
(concat "-include=" (expand-file-name
|
|
Packit |
5ce601 |
(concat directory-of-current-dir-locals-file "config.h")))
|
|
Packit |
5ce601 |
)
|
|
Packit |
5ce601 |
)
|
|
Packit |
5ce601 |
)
|
|
Packit |
5ce601 |
))
|