aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2022-07-22 20:38:28 +0200
committerJohn Ankarström <john@ankarstrom.se>2022-07-22 20:38:28 +0200
commitab29e6d39a7aef254ff0f3f3b2303f50c627c314 (patch)
tree28b961170bef85576dbcd9f8db935eaeb240a170
parentf7ddb43b885622d4a387e364077af8ee1544fbec (diff)
downloadEpisodeBrowser-ab29e6d39a7aef254ff0f3f3b2303f50c627c314.tar.gz
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.
-rw-r--r--.dir-locals.el3
1 files changed, 2 insertions, 1 deletions
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"))))