On Fri, Jun 03, 2016 at 09:34:15AM -0600, Joel Kulesza wrote:
> On Fri, Jun 3, 2016 at 9:11 AM, Guillaume Munch <g...@lyx.org> wrote:
> 
> >
> > What are the
> > advantages? What are the basic commands? How do you set up
> > out-of-directory builds?
> >
> >
> I am far from an expert; however, a self-contained and somewhat compact
> application of CMake is available here:
> https://github.com/jkulesza/NERS590_Project.
> 
> The basic commands are in the src/CMakeLists.txt file (which are almost
> certainly *not* following best practices, but they and their simplicity
> have served me well).
> 
> A simple script to drive out-of-source builds is shown in build/.
> 
> Advantages I might identify, without attempting to articulate further: it
> automates the Makefile generation process removing much of the manual labor
> (particularly as source files are added/removed).  In principle, it can
> also find compilers/libraries on the system quite readily and can be set up
> to flexibly use them in various combinations.  With various targets, it can
> also be setup to build release, debug, etc. for (straightforward) use with
> continuous-integration testing.
> 
> P.S. I hope you don't mind me chiming in...

Not at all, Joel! Please chime away. Any help is appreciated.

Guillaume, I didn't look in depth at the above, but if you have any
question, please ask. I usually just ask Kornel and he is happy to help.
I'm not sure it is worth your time though, unless we do decide to make
it our official build system. It is not clear yet we want that.

Scott

Attachment: signature.asc
Description: PGP signature

Reply via email to