Skip to content

Compiler path per platform #106

@pabu

Description

@pabu

In project-settings.json, I would like to supply a different compiler path depending on platform.

The most convenient option would be a value "platform-compilers" or just "compilers" that have children for "windows", "mac" and "linux".

It can potentially be achieved in a slightly hackier way if Issue #103 is resolved and it also enables env var expansion (not sure how related expansion of built-ins and env vars are under the hood in vscode).

env:
MYPROJECTNAME_OSCAR64_PLATFORM=macos

project-settings.json:
"compiler": "tools/oscar64${env:MYPROJECTNAME_OSCAR64_PLATFORM}/bin/oscar64"

Thank you for creating and improving VS64, I have had a blast using it since I discovered it a few weeks ago!

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions