18 lines
511 B
TypeScript
18 lines
511 B
TypeScript
import CppProject from "../../src/Project/CppProject.js";
|
|
import { addProject } from "../../src/Tools/AddProject.js";
|
|
|
|
// const compiler = new GppCompiler()
|
|
|
|
addProject(()=>{
|
|
const project = new CppProject("hello").addFiles("./hello/main.cpp")
|
|
project.optimize="fastest"
|
|
// console.log(project.compiler.compilerVersion)
|
|
return project
|
|
})
|
|
|
|
addProject(()=>{
|
|
const project = new CppProject("world")
|
|
project.addFiles("./world/world.cpp")
|
|
project.optimize="fastest"
|
|
return project
|
|
}) |