-
Notifications
You must be signed in to change notification settings - Fork 0
/
.dir-locals.el
30 lines (29 loc) · 2.62 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
26
27
28
29
30
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; ((nil . ((eval . (setq ;;
;; projectile-project-test-cmd #'counsel-test-ctest ;;
;; projectile-project-compilation-cmd #'counsel-compile ;;
;; projectile-project-compilation-dir "build" ;;
;; helm-make-build-dir (projectile-compilation-dir) ;;
;; helm-ctest-dir (projectile-compilation-dir) ;;
;; )) ;;
;; (projectile-project-name . "omega") ;;
;; (projectile-project-run-cmd . "make && cd test && ./omega_test") ;;
;; (projectile-project-configure-cmd . "cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -S . -B") ;;
;; (counsel-compile-make-args . "-j7")))) ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
((nil . ((eval . (setq
projectile-project-test-cmd #'counsel-test-ctest
projectile-project-compilation-cmd #'counsel-compile
projectile-project-compilation-dir "build"
helm-make-build-dir (projectile-compilation-dir)
helm-ctest-dir (projectile-compilation-dir)
))
(cmake-ide-project-dir . "~/Projects/omega")
(cmake-ide-build-dir . "~/Projects/omega/build")
(cmake-ide-cmake-opts . "-DCMAKE_BUILD_TYPE=Debug -DCMAKE_EXPORT_COMPILE_COMMANDS=ON")
(ccls-initialization-options . (:compilationDatabaseDirectory "build"
:cache (:directory "build/.ccls-cache")))
(projectile-project-name . "omega")
(projectile-project-run-cmd . "make && cd test && ./omega_test")
(projectile-project-configure-cmd . "cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_EXPORT_COMPILE_COMMANDS=ON .")
(helm-make-args . "-j7"))))