[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
setting compile-command
From: |
Andrea Crotti |
Subject: |
setting compile-command |
Date: |
Wed, 27 Apr 2011 17:49:46 +0200 |
User-agent: |
Gnus/5.110016 (No Gnus v0.16) Emacs/24.0.50 (gnu/linux) |
It would be nice to set the compile-command for every project with
dir-local variables.
The problem is that the compile-command should be run from the root
directory of the project, but apparently it doesn't work like that
automatically and the "make" is run from the current position.
I ended up with something like "cd $PROJ_DIR && make" but I believe that
there must be a better way to do that, am I right?
--
GNU Emacs 24.0.50.2 (x86_64-unknown-linux-gnu, GTK+ Version 2.22.0)
of 2011-04-22 on plaetekopp
- setting compile-command,
Andrea Crotti <=