diff options
author | Yann Herklotz <ymherklotz@gmail.com> | 2017-12-17 09:23:05 +0000 |
---|---|---|
committer | Yann Herklotz <ymherklotz@gmail.com> | 2017-12-17 09:23:05 +0000 |
commit | 9d6ca56d5ac15634958f773e991d41a977f909bf (patch) | |
tree | cc10786c091a7f185feae2c3f536981f222e9117 /.dir-locals.el | |
parent | e6215e764bc149497ab5772d9ea136809d898993 (diff) | |
download | YAGE-9d6ca56d5ac15634958f773e991d41a977f909bf.tar.gz YAGE-9d6ca56d5ac15634958f773e991d41a977f909bf.zip |
Making simplegame and travis
Diffstat (limited to '.dir-locals.el')
-rw-r--r-- | .dir-locals.el | 41 |
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")))) |