BartmanAbyss / vscode-amiga-debug

One-stop Visual Studio Code Extension to compile, debug and profile Amiga C/C++ programs compiled by the bundled gcc 12.2 with the bundled WinUAE/FS-UAE.
GNU General Public License v3.0
312 stars 39 forks source link

Configurable program name. #119

Closed davidcanadas closed 2 years ago

davidcanadas commented 2 years ago

This PR allows the user to specify the name of build artifacts instead of using defaults (a.mingw.*). The PR stores artifacts inside a new folder named out (to ease handling the .gitignore and .vscodeignore entries, also to be used in the future by other PRs that automate assembly sources scanning like the Makefile does with C/C++ sources).

Name is specified in the form of a path relative to the workspace root. Such path has to be written according to the local filesystem (using backslash on Windows).

davidcanadas commented 2 years ago

Just seen this program = out/a in the Makefile that looks like a test.

BartmanAbyss commented 2 years ago

that's actually intended. this sets the default that can be overridden by command line. by doing it that way, I can just call 'gnumake' from the terminal without having to add that program=out/a arg.