Update CMake commands.
This commit is contained in:
parent
634bc6bd50
commit
dc98e20fe2
|
@ -110,10 +110,10 @@ Ignores ARGS."
|
||||||
:config (progn
|
:config (progn
|
||||||
(setq projectile-project-compilation-dir "build")
|
(setq projectile-project-compilation-dir "build")
|
||||||
(setq projectile-project-configure-cmd
|
(setq projectile-project-configure-cmd
|
||||||
"cmake -GUnix\\ Makefiles -DCMAKE_BUILD_TYPE=Debug \
|
"cmake -S .. -B . -GUnix\\ Makefiles -DCMAKE_BUILD_TYPE=Debug \
|
||||||
-DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DWITH_TESTS=YES ..")
|
-DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DWITH_TESTS=YES")
|
||||||
(setq projectile-project-compilation-cmd
|
(setq projectile-project-compilation-cmd
|
||||||
(concat "cmake --build . -- -j"
|
(concat "cmake --build . --parallel "
|
||||||
(substring
|
(substring
|
||||||
(shell-command-to-string "nproc --ignore=1") 0 -1)
|
(shell-command-to-string "nproc --ignore=1") 0 -1)
|
||||||
" && cd tests && ctest -Q"))
|
" && cd tests && ctest -Q"))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user