@specs-feup/clava
Version:
A C/C++ source-to-source compiler written in Typescript
26 lines (20 loc) • 374 B
text/typescript
import CMakeCompiler from "./CMakeCompiler.js";
/**
* Iterates over a list of values.
*
*/
export default class GenericCMakeCompiler extends CMakeCompiler {
c: string;
cxx: string;
constructor(c: string, cxx: string) {
super();
this.c = c;
this.cxx = cxx;
}
getCxxCommand() {
return this.cxx;
}
getCCommand() {
return this.c;
}
}