Kore Update

This commit is contained in:
Gorochu
2026-06-09 12:45:01 -07:00
parent a2d5c9aea4
commit 7558d03739
371 changed files with 30188 additions and 7466 deletions

View File

@ -11,6 +11,7 @@ let flags = {
with_networking: true,
with_viewport: true,
with_uws: false,
with_ssl: true,
debug_network: true
};
@ -27,10 +28,11 @@ let root = __dirname;
const libdir = root + '/v8/libraries/' + system + '/' + build + '/';
let project = new Project(flags.name);
await project.addProject('Kinc');
project.cppStd = "c++17";
project.setDebugDir('Deployment');
await project.addProject('Kore');
if (fs.existsSync(process.cwd() + '/icon.png')) {
project.icon = path.relative(__dirname, process.cwd()) + '/icon.png';
}
@ -140,11 +142,14 @@ else if (platform === Platform.Linux) {
}
}
else if (platform === Platform.OSX) {
project.addLib('v8/libraries/macos/release/libv8_monolith.a');
project.addLib('v8_monolith -L' + libdir);
if (flags.with_networking) {
project.addLib('-framework Foundation');
project.addLib('-framework Security');
project.addLib('-framework SystemConfiguration');
project.addIncludeDir('apple-libressl-sdk/include');
project.addLinkerFlag('-L' + root + '/apple-libressl-sdk/lib');
project.addLinkerFlag('-lssl');
project.addLinkerFlag('-lcrypto');
project.addLinkerFlag('-framework Security');
project.addLinkerFlag('-framework SystemConfiguration');
}
}