vslavik / bakefile

Bakefile makefiles generator
http://bakefile.org
MIT License
142 stars 20 forks source link

Allow predefining WXRC variable or setting when using wx plugin #131

Closed vadz closed 2 years ago

vadz commented 2 years ago

Don't hardcode "wxrc" as the name of the wx resource compiler, but use WXRC variable if it's predefined in the project bakefile.

This allows customizing it using e.g.

if ($toolset == gnu) {
    setting WXRC {
        default = "`wx-config --utility=wxrc`";
        help = 'Tool for compiling wxWidgets resources.';
    }
}

See #124.

vslavik commented 2 years ago

Sorry; I'm back now.

Looks good to me, thanks for doing (and merging) this.