bmx-ng / bmk

The enhanced BlitzMax build program.
zlib License
28 stars 13 forks source link

Show more of the source file path being compiled #129

Closed davecamp closed 9 months ago

davecamp commented 1 year ago

Hi,

This PR is very minor. It includes the parent folder of the current file that's being compiled. Due to some source files have the same name but in different modules and folders it would have always been nice to see what folder the source file relates to. If the parent folder is '.bmx' then the parent of that folder is included too.

An simple example would be that the original output of bmk would show just the file name of the current compilation:

[ 21%] Processing:main.bmx
[ 85%] Compiling:main.bmx.gui.debug.macos.arm64.c
[100%] Linking:main.debug

and with this PR the output becomes

[ 21%] Processing:../Examples/main.bmx
[ 85%] Compiling:../Examples/.bmx/main.bmx.gui.debug.macos.arm64.c
[100%] Linking:main.debug
davecamp commented 1 year ago

I tested this on Windows 11 and MacOsX 13.6 doing a full rebuild of all modules on both machines. I haven't tested on Linux.