Polyman Documentation - v3.1.0
    Preparing search index...

    Interface CompilerConfig

    Local compiler overrides. Only affects how polyman compiles sources on this machine; Polygon uses sourceType instead.

    Environment variables POLYMAN_CXX and POLYMAN_JAVAC take precedence over these fields.

    CompilerConfig

    {
    * cpp: 'g++-15',
    * flags: ['-Wall', '-std=gnu++20']
    * }
    interface CompilerConfig {
        cpp?: string;
        javac?: string;
        flags?: string[];
    }
    Index
    cpp?: string

    C++ compiler executable (default: g++)

    javac?: string

    Java compiler executable (default: javac)

    flags?: string[]

    Extra flags for every C++ compile, one per item, added after -O2 -std=<cppStandard>. A -std= flag here replaces cppStandard and an -O flag replaces -O2.