}
async int runMeson() {
- if (GLib.FileUtils.test(this.project.path + "/build", GLib.FileTest.EXISTS)) {
+ if (GLib.FileUtils.test(this.project.path + "/build/meson-info", GLib.FileTest.EXISTS)) {
return 0; //assume it's been set up.
}
- string[] args = { "/usr/bin/meson" ,"setup","build", "--prefix=/" };
-
+ string[] args = { "/usr/bin/meson" ,"setup", "build", "--prefix=/" };
+ GLib.debug("running meson");
this.spawn = new Spawn(this.project.path , args);
this.spawn.output_line.connect(( str) => {
this.onOutput(str);
if (Regex.match_simple("\\.(o|cache|out|stamp|~)$", fn)) { // object..
continue;
}
- if (Regex.match_simple("^(config1.builder|a.out|stamp-h1|depcomp|config.log|config.status)$", fn)) { // object..
+ if (Regex.match_simple("^(config1.builder|a.out|stamp-h1|depcomp|config.log|config.status|obj-x86_64-linux-gnu)$", fn)) { // object..
continue;
}