version dialog

This commit is contained in:
Nishi 2026-05-10 07:03:11 +09:00
commit 7d96c216bd
Signed by: nishi
GPG key ID: 27EF69B208EB9343
17 changed files with 291288 additions and 1 deletions

25
pmake.js Normal file
View file

@ -0,0 +1,25 @@
function main(){
pmake.subdirectory("external/ppr");
pmake.subdirectory("external/stb");
const IDE = new pmake.ExecutableProject("midas");
IDE.sources = fs.glob("src/*.c", "src/icon/*.c");
IDE.includes = ["src", main.milsko + "/include"];
IDE.libdirs = [main.milsko + "/src", main.milsko + "/lib"];
IDE.libraries = ["stb", "ppr", "Mw"];
pmake.register(IDE);
}
main.milsko = "/usr/local";
(function(){
opt = new pmake.Option("with-milsko=PATH");
opt.category = "General";
opt.description = "Specify path to milsko";
opt.action = function(value){
main.milsko = value;
};
pmake.register(opt);
})();