File tree 3 files changed +15
-6
lines changed
3 files changed +15
-6
lines changed Original file line number Diff line number Diff line change 1
1
; ;; Directory Local Variables
2
2
; ;; For more information see (info "(emacs) Directory Variables")
3
3
4
- ((c++-mode . ((flycheck-cppcheck-standards . " c++14" )
5
- (flycheck-clang-language-standard . " c++14" ))))
4
+ ((nil
5
+ (eval . (let ((root (projectile-project-root)))
6
+ (setq-local flycheck-cppcheck-standards " c++14" )
7
+ (setq-local flycheck-clang-language-standard " c++14" )
8
+ (setq-local flycheck-clang-include-path
9
+ (list (concat root " src" )
10
+ (concat root " contrib/cpp-sc2/include" )
11
+ (concat root " contrib/cpp-sc2/contrib/protobuf/src" )
12
+ (concat root " contrib/cpp-sc2/generated" )
13
+ (concat root " build/contrib/cpp-sc2/generated" )))))))
Original file line number Diff line number Diff line change 5
5
* .SC2Replay
6
6
7
7
# Build sandbox.
8
- build
8
+ build /
9
9
10
10
# IDE - VSCode
11
- .vscode /*
12
- ! .vscode /launch.json
13
- ! .vscode /tasks.json
11
+ .vscode /
12
+ . # *
14
13
15
14
# Google linter
16
15
cpplint.py
Original file line number Diff line number Diff line change
1
+ -/build
2
+ -/contrib/cpp-sc2/contrib
You can’t perform that action at this time.
0 commit comments