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.
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:
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.