From: Florian Lindner <mailinglists@xgm.de>
To: help-gnu-emacs@gnu.org
Subject: projectile: Set compile-command
Date: Tue, 24 Feb 2015 09:40:05 +0100 [thread overview]
Message-ID: <mchdd7$v0t$1@ger.gmane.org> (raw)
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
reply other threads:[~2015-02-24 8:40 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='mchdd7$v0t$1@ger.gmane.org' \
--to=mailinglists@xgm.de \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.