summaryrefslogtreecommitdiffstats
path: root/lib/isc/win32/.dir-locals.el
blob: b16a1be12131414b16ea3850cc69d04f74212e3d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
;;; Directory Local Variables
;;; For more information see (info "(emacs) Directory Variables")

((c-mode .
  ((eval .
	 (set (make-local-variable 'directory-of-current-dir-locals-file)
	      (file-name-directory (locate-dominating-file default-directory ".dir-locals.el"))
	      )
	 )
   (eval .
	 (set (make-local-variable 'include-directories)
	      (list
	       (expand-file-name
		(concat directory-of-current-dir-locals-file "../../../"))
	       (expand-file-name
		(concat directory-of-current-dir-locals-file "include"))
	       (expand-file-name
		(concat directory-of-current-dir-locals-file "../include"))
	       (expand-file-name
		(concat directory-of-current-dir-locals-file "../"))
	       (expand-file-name
		(concat directory-of-current-dir-locals-file "./"))
	       (expand-file-name
		(concat directory-of-current-dir-locals-file "../../dns/include"))
	       (expand-file-name "/usr/local/opt/openssl@1.1/include")
	       (expand-file-name "/usr/local/opt/libxml2/include/libxml2")
	       (expand-file-name "/usr/local/include")
	       )
	      )
	 )

   (eval setq flycheck-clang-include-path include-directories)
   (eval setq flycheck-cpp-include-path include-directories)
   )
  ))