aboutsummaryrefslogtreecommitdiffstats
path: root/.dir-locals.el
diff options
context:
space:
mode:
Diffstat (limited to '.dir-locals.el')
-rw-r--r--.dir-locals.el41
1 files changed, 3 insertions, 38 deletions
diff --git a/.dir-locals.el b/.dir-locals.el
index ef9a1a46..db723df8 100644
--- a/.dir-locals.el
+++ b/.dir-locals.el
@@ -1,38 +1,3 @@
-((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"))))))))))
+((nil . ((projectile-project-compilation-cmd . "mkdir -p build && cd build && cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DUNIT_TESTS=ON .. && make -j9")
+ (projectile-project-test-cmd . "cd build && ctest")
+ (projectile-project-run-cmd . "./bin/simplegame"))))