Skip to content
Snippets Groups Projects
.dir-locals.el-disabled 506 B
Newer Older
Florian Schmaus's avatar
Florian Schmaus committed
;;; Directory Local Variables
;;; For more information see (info "(emacs) Directory Variables")

;; ((nil . ((eval . (set (make-local-variable 'my-project-path)
;;                       (file-name-directory
;;                        (let ((d (dir-locals-find-file ".")))
;;                          (if (stringp d) d (car d))))))
;;          (eval . (setq cmake-ide-project-dir (concat my-project-path "/")))
;;          (eval . (setq cmake-ide-build-dir (concat my-project-path "build")))
;;          )))