Re: Build problems.

Yegor Yefremov <[email protected]>
Newsgroups gmane.comp.gnu.gengetopt.general
Message-ID <[email protected]>
Debarshi 'Rishi' Ray schrieb:
>> It will reduce the amount of build applications to cmake and toolchain.
>> The CMakeLists.txt is clearly laid out. It is also available for various
>> platforms. So why not?
>
> Aren't Autoconf/Automake available for different platforms too?
>
> Happy hacking,
> Debarshi
As far as I understand Autoconf is designed for UNIX-like OS only:

[citation from http://www.gnu.org/software/autoconf/]: Autoconf is an 
extensible package of M4 macros that produce shell scripts to 
automatically configure software source code packages. These scripts can 
adapt the packages to many kinds of UNIX-like systems without manual 
user intervention. Autoconf creates a configuration script for a package 
from a template file that lists the operating system features that the 
package can use, in the form of M4 macro calls.

CMake is a cross-platform tool that runs also in Windows.

A Summary Of Features
CMake is an extensible, open-source system that has several powerful 
features. These include:

    * Supports complex, large build environments. CMake has been proven
      in several large projects.
    * Generates native build files (e.g., makefiles on Unix;
      workspaces/projects on MS Visual C++). Therefore standard tools
      can be used on any platform/compiler configuration.
    * Has powerful commands include the ability to locate include files,
      libraries, executables; include external CMake files that
      encapsulate standard functionality; interfaces to testing systems;
      supports recursive directory traversal with variable inheritance;
      can run external programs; supports conditional builds; supports
      regular expression expansion; and so on.
    * Supports in-place and out-of-place builds. Multiple compilation
      trees are possible from a single source tree.
    * Can be easily extended to add new features.
    * CMake is open source.
    * CMake operates with a cache designed to be interfaced with a
      graphical editor. The cache provides optional interaction to
      conditionally control the build process.


Best regards,
Yegor Yefremov
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.