Polyman Documentation - v2.2.2
    Preparing search index...

    Function compileChecker

    • Compiles a checker program. Handles both custom checkers and standard testlib checkers. Wrapper around compileCPP with consistent error handling.

      Parameters

      Returns Promise<void>

      Path to compiled checker executable

      If compilation fails

      // Custom checker
      const path = await compileChecker({ name: 'checker', source: 'checker/Checker.cpp', isStandard: false });
      // Standard checker
      const path = await compileChecker({ name: 'wcmp', source: 'wcmp.cpp', isStandard: true });