This commit is contained in:
Nishi 2026-05-12 08:59:46 +09:00
commit b65cb44ff0
3 changed files with 15 additions and 1 deletions

View file

@ -13,6 +13,8 @@ function main() {
main.milsko = "/usr/local";
(function() {
var opt;
opt = new pmake.Option("with-milsko=PATH");
opt.category = "General";
opt.description = "Specify path to milsko";
@ -21,5 +23,16 @@ opt.action = function(value) {
main.milsko = value;
};
pmake.register(opt);
opt = new pmake.Option("with-mingw=PREFIX");
opt.category = "General";
opt.description = "Use MinGW";
opt.action = function(value) {
pmake.compiler.prefix = value;
pmake.setSystem("Windows");
};
pmake.register(opt);
})();