bmx-ng/bmk

make.bmk: .ico, .settings, ... should fallback to %infile%

GWRon opened this issue · 1 comments

GWRon commented

Coming from this thread:
https://www.syntaxbomb.com/index.php/topic,5536.new.html#new

When defining a custom %outfile% (via "-o outfile.exe") then make.bmk tries to use "outfile.ico", "outfile.rc" and the likes.
If they aren't found BMK should try to use the "defaults" at "infile.ico", "infile.rc" etc.

If BMK makes adjustments depending on build type (appending ".console" or ".debug") then the "fallback lookup" should take that into consideration too.

There's no reason to look in the output folder first; it would only create an unnecessary error.
The .rc file will always end up in the input/source folder anyways.