From ab29e6d39a7aef254ff0f3f3b2303f50c627c314 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Fri, 22 Jul 2022 20:38:28 +0200 Subject: Build object files in parallel. If you use Emacs, make sure compilation-read-command is t and not nil. Otherwise, you will be warned when the compile-command variable is loaded from .dir-locals.el. --- .dir-locals.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.dir-locals.el b/.dir-locals.el index c735a37..18eda90 100644 --- a/.dir-locals.el +++ b/.dir-locals.el @@ -1,4 +1,5 @@ -((c-mode . ((mode . c++))) +((nil . ((compile-command . "make -j -O -k "))) + (c-mode . ((mode . c++))) (c++-mode . ((flycheck-gcc-include-path . ("C:/Program Files/swipl/include")) (flycheck-gcc-definitions . ("UNICODE" "_UNICODE")) (flycheck-gcc-language-standard . "c++17")))) -- cgit v1.2.3