[CMake] CMAKE equivalent of qmake's MOC_DIR

Andreas Pakulat apaku at gmx.de
Thu Jul 24 03:05:01 EDT 2008


On 23.07.08 20:44:15, David Boosalis wrote:
> 
> The one complaint I have with building in another directory is when working with emacs.  I like to do my make inside of emacs, that way when there is a compile error message I can click on it from emacs and it takes me right to the offending line.  The only problem is that if I have to close all files after editing them as emacs gets confused if a file is open, and assumes the build is where the source file is, so it fails.  

Then I suggest you file a bugreport against emacs. It should support
setting a builddir instead of assuming the Makefile's are in the current
directory of the given source file.

Andreas

-- 
You have an ambitious nature and may make a name for yourself.


More information about the CMake mailing list