nmake/tests/test2/nmake.ts
2024-08-12 15:45:21 +08:00

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
})