Skip to content

Support automatic submod linking also in bas script #47

@mdbergmann

Description

@mdbergmann

The CubicIDE plugin supports an REM #using directive in the first 20 lines of the source code to find and automatically add the files to the linking stage.

This should actually be done by bas script as well, or actually only there to be ablt to remove it from CubicIDE plugin script.

It works like this:

REM #using ace:submods/list/list.o

print "foobar"

It is a comment because the compiler doesn't understand this directive.
Yet, the bas script can parse it and pick up the file for linking.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions