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

    Function compileCpp

    • Compiles a C++ file with g++ -std=c++17 -O2 -I <problemDir> into a temporary binary. file is relative to problemDir or absolute. The POLYMAN_CXX environment variable picks another compiler, like the CLI.

      Parameters

      • file: string
      • problemDir: string
      • signal: AbortSignal

      Returns Promise<CompileResult>