version dialog
This commit is contained in:
parent
8e1855d1a2
commit
7d96c216bd
17 changed files with 291288 additions and 1 deletions
25
pmake.js
Normal file
25
pmake.js
Normal 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);
|
||||
})();
|
||||
Loading…
Add table
Add a link
Reference in a new issue