Compiles a generator program. Wrapper around compileCPP with consistent error handling.
Generator configuration
Path to compiled generator executable
If compilation fails
const path = await compileGenerator({ name: 'gen', source: 'generators/gen.cpp' }); Copy
const path = await compileGenerator({ name: 'gen', source: 'generators/gen.cpp' });
Compiles a generator program. Wrapper around compileCPP with consistent error handling.