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

    Function resolveCppCompiler

    • Resolves the C++ compiler executable. Precedence: POLYMAN_CXX env var, then compiler.cpp in Config.json, then g++.

      Parameters

      • Optionalconfig: CompilerConfig = ...

        Checked compiler block; read from Config.json when omitted

      Returns string

      Compiler executable name or path (not shell-quoted)

      If the compiler block in Config.json is malformed

      // POLYMAN_CXX=g++-15
      resolveCppCompiler(); // 'g++-15'