[CMake] Including existing make files into cmake

Brandon Van Every bvanevery at gmail.com
Tue Jan 29 10:10:47 EST 2008


On Jan 29, 2008 8:18 AM, Ali - <saveez at hotmail.com> wrote:
>
> (1) Somewhere in this file the include line for the existing make file is
> added.
>
> (2) Somewhere in the compile command all the flags from the existing make
> file, stored in one single variable $(EXISTING_MAKE_FLAGS), is added.
>
> The above works fine, the only pain is that I have to edit the build.make
> file every time I re-run the cmake command. The question is, how can this be
> automated by cmake commands?

string(REGEX REPLACE ...)


Cheers,
Brandon Van Every


More information about the CMake mailing list