Skip to content

Commit

Permalink
Copy in the new version of addBackend
Browse files Browse the repository at this point in the history
  • Loading branch information
RobDangerous committed Sep 2, 2024
1 parent 1a2e5df commit 8eabca2
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 3 deletions.
8 changes: 7 additions & 1 deletion kmake/src/Project.ts
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,13 @@ export class Project {
let kinc = this.findKincProject();

for (const backend of additionalBackends) {
kinc.addFile('Backends/' + backend + '/Sources/**', null);
kinc.addFile('Backends/' + backend + '/Sources/kinc/**', null);
kinc.addFile('Backends/' + backend + '/Sources/GL/**', null);
kinc.addFile('Backends/' + backend + '/Sources/Android/**', null);
//if (Options.kope) {
// kinc.addFile('Backends/' + backend + '/Sources/kope/**', {nocompile: true});
// kinc.addFile('Backends/' + backend + '/Sources/kope/**/*unit.c*', null);
//}
kinc.addIncludeDir('Backends/' + backend + '/Sources');
}
}
Expand Down
8 changes: 7 additions & 1 deletion lib/kmake/Project.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 8eabca2

Please sign in to comment.