2025-01-22 16:18:30 +01:00

14 lines
502 B
JavaScript

let project = new Project('HaxeCpp');
if (platform === Platform.WindowsApp) {
project.addFiles('Sources/**.h', 'Sources/**.cpp');
}
else {
project.addFiles('Sources/**.h', 'Sources/**.cpp', { pch: 'hxcpp.h' });
}
project.addFiles('Sources/src/resources/**.cpp');
project.addFiles('Sources/src/__lib__.cpp', 'Sources/src/__boot__.cpp');
project.addExcludes('Sources/src/__main__.cpp');
project.addIncludeDirs('Sources/include');
//project.addDefine('HX_SMART_STRINGS');
resolve(project);