Alien-CMake

 view release on metacpan or  search on metacpan

README  view on Meta::CPAN

          module_name => 'Any::CMake::Module',
          # + other params
          build_requires => {
                        'Alien::CMake' => 0,
                        # + others modules
          },
          configure_requires => {
                        'Alien::CMake' => 0,
                        # + others modules
          },
          extra_compiler_flags => Alien::CMake->config('cflags'),
          extra_linker_flags   => Alien::CMake->config('libs'),
        )->create_build_script;

    NOTE: Alien::CMake is required only for building not for using
    'Any::CMake::Module'.

DESCRIPTION
    Please consider using Alien::cmake3 instead. It uses newer Alien
    technology and is more reliable. In particular, this module will
    download very old binaries for some platforms (some from the 2.x
    series). In addition Alien::cmake3 will build from source if binaries

README  view on Meta::CPAN

    settings from an already installed CMake. It offers also an option to
    download CMake source codes and build binaries from scratch.

METHODS
  config()
    This function is the main public interface to this module:

        Alien::CMake->config('prefix');
        Alien::CMake->config('version');
        Alien::CMake->config('libs');
        Alien::CMake->config('cflags');

  bin_dir()
    For compatability with Alien::Base, this will return the path containing
    "cmake" or empty list if it is already in the "PATH".

BUGS
    Please post issues and bugs at
    <http://rt.cpan.org/NoAuth/Bugs.html?Dist=Alien-CMake>

AUTHOR

lib/Alien/CMake.pm  view on Meta::CPAN

      module_name => 'Any::CMake::Module',
      # + other params
      build_requires => {
                    'Alien::CMake' => 0,
                    # + others modules
      },
      configure_requires => {
                    'Alien::CMake' => 0,
                    # + others modules
      },
      extra_compiler_flags => Alien::CMake->config('cflags'),
      extra_linker_flags   => Alien::CMake->config('libs'),
    )->create_build_script;

NOTE: Alien::CMake is required only for building not for using 'Any::CMake::Module'.

=head1 DESCRIPTION

Please consider using L<Alien::cmake3> instead.  It uses newer Alien
technology and is more reliable.  In particular, this module will download
very old binaries for some platforms (some from the 2.x series).  In
addition L<Alien::cmake3> will build from source if binaries are not

lib/Alien/CMake.pm  view on Meta::CPAN


=head1 METHODS

=head2 config()

This function is the main public interface to this module:

    Alien::CMake->config('prefix');
    Alien::CMake->config('version');
    Alien::CMake->config('libs');
    Alien::CMake->config('cflags');

=head2 bin_dir()

For compatability with L<Alien::Base>, this will return the path containing C<cmake>
or empty list if it is already in the C<PATH>.

=head1 BUGS

Please post issues and bugs at L<http://rt.cpan.org/NoAuth/Bugs.html?Dist=Alien-CMake>



( run in 0.237 second using v1.01-cache-2.11-cpan-94b05bcf43c )