From 50f8eb40b841ab13cc7a7864be46dc93b69298d5 Mon Sep 17 00:00:00 2001 From: Alexander Dalshov Date: Fri, 9 Nov 2018 10:09:41 +0300 Subject: [PATCH] [helm-make][helm-ctest] - add configuration sample with projectile --- layers/+tools/cmake/README.org | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/layers/+tools/cmake/README.org b/layers/+tools/cmake/README.org index 29aae7921..abfe32fb4 100644 --- a/layers/+tools/cmake/README.org +++ b/layers/+tools/cmake/README.org @@ -57,6 +57,21 @@ Trailing slash is required. ))) #+END_SRC +In case of projectile it's possible to configure project like: +#+BEGIN_SRC emacs-lisp +((nil . ((eval . (setq + projectile-project-test-cmd #'helm-ctest + projectile-project-compilation-cmd #'helm-make-projectile + projectile-project-compilation-dir "build" + helm-make-build-dir (projectile-compilation-dir) + helm-ctest-dir (projectile-compilation-dir) + )) + (projectile-project-name . "My Cool Project") + (projectile-project-run-cmd . "./run.sh") + (projectile-project-configure-cmd . "cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_EXPORT_COMPILE_COMMANDS=ON ..") + (helm-make-arguments . "-j7")))) +#+END_SRC + * Key Bindings | Key Binding | Description |