stuff
This commit is contained in:
parent
fd1ff59a14
commit
b65cb44ff0
3 changed files with 15 additions and 1 deletions
13
pmake.js
13
pmake.js
|
|
@ -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);
|
||||
})();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue