---------- Forwarded message ----------
From: Richard Shaw <[email protected]>
Date: Sat, Apr 13, 2013 at 2:10 PM
Subject: Re: [Freetel-codec2] Any interest in cmake build system?
To: Greg Troxel <[email protected]>


On Sat, Apr 13, 2013 at 6:34 AM, Greg Troxel <[email protected]> wrote:

> Before making the cmake build the standard approach, I think it's
>  important to make sure that it can do the things autoconf can do,
> specifically:
>
>   detection of features vs OS, so that it will build on a new OS which
>   can work based on feature tests
>

I need some clarification here but cmake does detect what system/os it's
running on, as well as the compiler (MSVC, gnu C/C++, etc.).


  cross compiling (using standard interfaces, so that packaging systems
>   that want to cross compile don't have to special case codec2)
>

I have not tried this myself but google provides many results including:
http://www.vtk.org/Wiki/CMake_Cross_Compiling


>   OBJDIR builds (the equivalent of running configure from a directory
>   other than the sources, resulting in not writing to the source
>   directory at all)
>

Out of source builds are preferred in cmake already.


  make dist
>

Although it's not an internal function, cmake can do this with a few lines
of code:

http://agateau.com/2009/08/09/cmake-and-make-dist-the-simple-version/



>   make distcheck (which involves an OBJDIR build on the unpacked
>   distribution tarball)
>

Not a builtin but I found several references to 3rd party modules...



> I'm not clear on cmake details, but I have the impression that not all
> the above is supported.


Perhaps not but I think most of the issues can be overcomed.

Thanks,
Richard
------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
Freetel-codec2 mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freetel-codec2

Reply via email to