rolandshacks/vs64

"args" ignored, trying to add a custom cc65 system config

Closed this issue · 5 comments

Trying to add a custom system config, ie. "c64.cfg", to my project inside the project-config.json's args list and, well, the args won't get added to the ld65 call.

I am importing an older project to test the extension, so don't mind the year.

{
    "name": "Partygames",
    "description": "Partygames for Bunkerparty 2017",
    "toolkit": "cc65",
    "sources": [
        "src/main.c",
        "src/asteroidrun.c",
        "src/supplyrun.c",
        "src/helper.c",
        "src/charset.s",
        "src/irq.s"
    ],
    "build": "debug",
    "definitions": [],
    "includes": [
    ],
    "args": ["-C c64.cfg"],
    "compiler": ""
}

Hi. "args" is a list of strings. So, maybe this could work:

"args": ["-C", "c64.cfg"],

I need to check, you intend to set a linker config file, correct?

Found it. It's both a bug and a bit of missing functionality.

Next release will fix it and add the following config parameters:

  • "assemblerFlags": "arg arg arg",
  • "compilerFlags": "arg arg arg",
  • "linkerFlags": "arg arg arg"

Please download and manually install the new release: https://github.com/rolandshacks/vs64/releases
Thanks for reporting!

Thanks for fixing this, will do tomorrow as today is a holiday over here and i am with family. :)