-
Notifications
You must be signed in to change notification settings - Fork 0
/
.dir-locals.el
25 lines (25 loc) · 1.21 KB
/
.dir-locals.el
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
((nil
(eval . (let ((root (projectile-project-root)))
(setq-local company-clang-arguments
(list (concat "-I" root "nvmeof-ts/lib")
(concat "-I" root "build/inst/default/include")
)
)
(setq-local flycheck-clang-include-path
(list (concat root "nvmeof-ts/lib")
(concat root "build/inst/default/include")
)
)
(setq-local flycheck-clang-args
(list
(concat "-Wno-error=unused-local-typedefs ")
(concat "-Wno-unused-local-typedefs")
(concat "-Wno-error=unused-parameters ")
(concat "-Wno-unused-parameters")
(concat "-Wno-error=unused-function ")
(concat "-Wno-error=unused-function ")
(concat "-Wno-error=unused-struct-member")
(concat "-Wno-unused-struct-member")
)
)
))))