* projectile: Set compile-command
@ 2015-02-24 8:40 Florian Lindner
0 siblings, 0 replies; only message in thread
From: Florian Lindner @ 2015-02-24 8:40 UTC (permalink / raw)
To: help-gnu-emacs
Hello,
the projectile readme mentions the setting of compile-command twice:
https://github.com/bbatsov/projectile
Once by using .dir-locals.el und set it directly (Storing project settings).
Anothertime by using something like that:
((nil . ((eval . (progn
;; require projectile; the following code will fail
;; without it.
(require 'projectile)
;; provide a fake "recent" compilation cmd
;; which will be returned by the function
;; `projectile-compilation-command`
(puthash (projectile-project-root)
"./command-to-compile-your-project.sh"
projectile-compilation-cmd-map))))))
(Configure Project's Compilation Command)
The first does not really seem to work, upon C-c p c it asks me a for a
compile command which defaults to scons here. I'm suprised that merely
setting the compile-command is so complicated and why it does not take
compile-command into account.
Thanks,
Florian
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2015-02-24 8:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-24 8:40 projectile: Set compile-command Florian Lindner
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.