[CMake] Setting the compiler

Brandon Van Every bvanevery at gmail.com
Sun Jul 29 15:46:11 EDT 2007


On 7/29/07, Hendrik Sattler <post at hendrik-sattler.de> wrote:
> Am Sonntag 29 Juli 2007 20:23 schrieb Juan Sanchez:
> > Is it possible for cmake to generate Makefiles by a different name than
> > "Makefile"?  Then it would be possible for developer's existing
> > Makefiles to not get clobbered by cmake.  Gnu make could then be called
> > with the -f specification for the Makefile name.
>
> Since you should use out-of-source build, there is no file name collision as
> the Makefile files will be created in the build-tree, leaving the ones in the
> source-tree untouched.

The mailing list archive has some stuff on forcing / guaranteeing an
out-of-source build IIRC.

Out-of-source is 1 step in resolving the problem.  I'm sure you'll
have others on the gmake side of things.  Depends on how much you
insist on staying in the gmake world.


Cheers,
Brandon Van Every


More information about the CMake mailing list