aboutsummaryrefslogtreecommitdiffstats
path: root/.dir-locals.el
diff options
context:
space:
mode:
authorTravisBot <>2017-09-21 23:32:46 +0000
committerTravisBot <>2017-09-21 23:32:46 +0000
commit1a8ec165031af3b860028ef1b360acc8e7baf9e6 (patch)
treeb9d2e956005b4de847417baf4a66ab3f028f1bc1 /.dir-locals.el
parentf5ecbc445977654e84120b3b02a9fe5d86dae5c8 (diff)
downloadYAGE-1a8ec165031af3b860028ef1b360acc8e7baf9e6.tar.gz
YAGE-1a8ec165031af3b860028ef1b360acc8e7baf9e6.zip
Rebuilding documentation
Diffstat (limited to '.dir-locals.el')
-rw-r--r--.dir-locals.el38
1 files changed, 38 insertions, 0 deletions
diff --git a/.dir-locals.el b/.dir-locals.el
new file mode 100644
index 00000000..ef9a1a46
--- /dev/null
+++ b/.dir-locals.el
@@ -0,0 +1,38 @@
+((nil . ((eval . (progn
+ (require 'projectile)
+ (setq company-clang-arguments (delete-dups (append
+ company-clang-arguments
+ (list (concat "-I" (projectile-project-root) "yage")))))
+ (setq company-clang-arguments (delete-dups (append
+ company-clang-arguments
+ (list (concat "-I" (projectile-project-root))))))
+ (setq company-clang-arguments (delete-dups (append
+ company-clang-arguments
+ (list (concat "-I" (projectile-project-root) "lib/googletest/googletest/include")))))
+ (setq company-clang-arguments (delete-dups (append
+ company-clang-arguments
+ (list (concat "-I" (projectile-project-root) "lib/rapidjson/include")))))
+ (setq company-clang-arguments (delete-dups (append
+ company-clang-arguments
+ (list (concat "-I" (projectile-project-root) "lib/glfw/include")))))
+ (setq company-clang-arguments (delete-dups (append
+ company-clang-arguments
+ (list (concat "-I" (projectile-project-root) "lib/glad/include")))))
+ (setq flycheck-clang-include-path (delete-dups (append
+ flycheck-clang-include-path
+ (list (concat (projectile-project-root) "yage")))))
+ (setq flycheck-clang-include-path (delete-dups (append
+ flycheck-clang-include-path
+ (list (concat (projectile-project-root))))))
+ (setq flycheck-clang-include-path (delete-dups (append
+ flycheck-clang-include-path
+ (list (concat (projectile-project-root) "lib/googletest/googletest/include")))))
+ (setq flycheck-clang-include-path (delete-dups (append
+ flycheck-clang-include-path
+ (list (concat (projectile-project-root) "lib/glfw/include")))))
+ (setq flycheck-clang-include-path (delete-dups (append
+ flycheck-clang-include-path
+ (list (concat (projectile-project-root) "lib/glad/include")))))
+ (setq flycheck-clang-include-path (delete-dups (append
+ flycheck-clang-include-path
+ (list (concat (projectile-project-root) "lib/rapidjson/include"))))))))))