Alien-Xmake-Project

 view release on metacpan or  search on metacpan

README.md  view on Meta::CPAN

            ```

            Sets the Objective-C++ precompiled header.

        - `set_runtimes( @runtimes )`

            ```
            ...->set_runtimes( 'MD' )
            ```

            Sets the runtime library flavour(s). On MSVC this selects the C runtime: `MT`, `MTd`, `MD`, `MDd`; on Android/iOS
            it selects the C++ STL implementation: `c++_static`, `c++_shared`.

        - `set_languages( @langs )`

            ```
            ...->set_languages( 'c99', 'cxx11' )
            ```

            Sets the language standard(s). Standard C values: `ansi`, `c89`, `gnu89`, `c90`, `gnu90`, `c99`, `gnu99`,
            `c11`, `gnu11`, `c17`, `gnu17`, ..., `clatest`. C++ values use the `cxxN` form (`cxx98`, `cxx11`, `cxx14`,
            `cxx17`, `cxx20`, `cxx23`, ..., `cxxlatest`) or the `C++N` spelling. A C and a C++ standard may be set together.

README.md  view on Meta::CPAN

    ```

    Sets the description of the component.

- `set_default( $bool )`

    ```
    ...->set_default( true )
    ```

    Sets whether the component is selected by default. Pass a real `false` to deselect.

- `add_sourcefiles( @files )`

    ```
    ...->add_sourcefiles( 'src/*.c' )
    ```

    Adds source files to this component.

- `add_installfiles( @files )`

lib/Alien/Xmake/Project.pod  view on Meta::CPAN

=item C<set_pmxxheader( $header )>

    ...->set_pmxxheader( 'common.hh' )

Sets the Objective-C++ precompiled header.

=item C<set_runtimes( @runtimes )>

    ...->set_runtimes( 'MD' )

Sets the runtime library flavour(s). On MSVC this selects the C runtime: C<MT>, C<MTd>, C<MD>, C<MDd>; on Android/iOS
it selects the C++ STL implementation: C<c++_static>, C<c++_shared>.

=item C<set_languages( @langs )>

    ...->set_languages( 'c99', 'cxx11' )

Sets the language standard(s). Standard C values: C<ansi>, C<c89>, C<gnu89>, C<c90>, C<gnu90>, C<c99>, C<gnu99>,
C<c11>, C<gnu11>, C<c17>, C<gnu17>, ..., C<clatest>. C++ values use the C<cxxN> form (C<cxx98>, C<cxx11>, C<cxx14>,
C<cxx17>, C<cxx20>, C<cxx23>, ..., C<cxxlatest>) or the C<C++N> spelling. A C and a C++ standard may be set together.

=item C<add_forceincludes( @files )>

lib/Alien/Xmake/Project.pod  view on Meta::CPAN

=item C<set_description( $text )>

    ...->set_description( 'The core runtime library' )

Sets the description of the component.

=item C<set_default( $bool )>

    ...->set_default( true )

Sets whether the component is selected by default. Pass a real C<false> to deselect.

=item C<add_sourcefiles( @files )>

    ...->add_sourcefiles( 'src/*.c' )

Adds source files to this component.

=item C<add_installfiles( @files )>

    ...->add_installfiles( 'LICENSE' )



( run in 2.657 seconds using v1.01-cache-2.11-cpan-e623d60df62 )