Changed default compilation command, cd to tests before ctest.

This commit is contained in:
tastytea 2019-05-26 18:07:40 +02:00
parent 96f6909291
commit 2b1078b5c2
2 changed files with 4 additions and 4 deletions

View File

@ -1,5 +1,5 @@
;;; init.el --- tastytea's Emacs init file.
;; Time-stamp: <2019-05-22T14:07:30+00:00>
;; Time-stamp: <2019-05-26T14:28:08+00:00>
;;; Commentary:
;; I am using this file with Emacs 26, but most of it will probably work with
@ -251,8 +251,8 @@ With argument, do this that many times."
"cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_EXPORT_COMPILE_COMMANDS=ON \
-GUnix\\ Makefiles ..")
:config
(setq projectile-project-compilation-cmd (concat my/cmake-compile-command
" && ctest -Q"))
(setq projectile-project-compilation-cmd
(concat my/cmake-compile-command " && cd tests && ctest -Q"))
(projectile-mode +1)
(put 'projectile-project-compilation-cmd 'safe-local-variable #'stringp)
;; Mark variable as safe. This prevents prompts when using .dir-locals.el.

View File

@ -1,2 +1,2 @@
127.0.0.1:51313 8465
127.0.0.1:51313 18482
phahw2ohVoh0oopheish7IVie9desh8aequeenei3uo8wahShe%thuadaeNa4ieh