[CMake] custom build

Lev leventelist at gmail.com
Fri Jul 29 09:30:39 EDT 2016


On Fri, 29 Jul 2016 08:13:08 -0400
"Elizabeth A. Fischer" <elizabeth.fischer at columbia.edu> wrote:

> Did you run "cmake" first before "make"?

Yes... thanks.

> Have you considered just using "make" instead?  The big benefits of
> CMake are:
>  1. Can find link dependencies, which might be in different places on
> different systems.
>  2. Adjust for the different command line options required by
> different compilers.
> 
> So far, I don't see either of those issues in your problem.  I would
> consider just using plain "make" here.

Yes, I considered that solution. Then I have to make the upper level
CMakeLists.txt/build system to run "make" in that directory, and
somehow make my global variables visible in that Makefile. Seems to be
harder than hacking the CMakeLists.txt.

And, I want to have a consistent build system.

Lev

-- 
73 de HA5OGL
Op.: Levente


More information about the CMake mailing list