|
From: | Ken Goldman |
Subject: | Re: setting compile-command |
Date: | Sun, 08 May 2011 22:20:13 -0400 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110419 Red Hat/3.1.10-1.el6_0 Thunderbird/3.1.10 |
I can offer a work around. After you compile once from the root directory, emacs will create a 'compile' frame. Keep that frame available and M-x compile from it. On 04/27/2011 11:49 AM, Andrea Crotti wrote:
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?
[Prev in Thread] | Current Thread | [Next in Thread] |