-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Read custom build commands from sourcefile? #31
Comments
I added something similar based on zethrax original idea to read options from the first line of bmx code, that way if I forget to set maxide for example to build as gui, it can be overridden, and the same goes for bmk and bcc, as if they are set to gui by mistake then console boxes start flashing across the screen during a build. I also added a simple clean option to delete the current '.bmx' folder forcing it to start afresh, crude but it seems to work as intended, and only a simple addition without requiring an ini for every file. eg: I added this include to bmk.bmx bmk_source_build_options.bmx
|
For now you need to adjust build options "globally" if you have multiple files open - and some need a build as eg. "shared library" and the other one as "GUI" - maybe a third as console.
Maybe we should handle some
'@MAXIDE
syntax - similar to'@BMK
. This could eg be something like'@MAXIDE appoptions=GUI
which allows to get interpreted by MaxIDE. In that case it would build as GUI regardless of what is set in MaxIDE.It would be a bit "dirty" as the user must be aware of WHERE they need to adjust the option to eg. build "release" instead of "debug" now (assuming one did manually define
@MAXIDE buildoptions=debug
).Maybe it should update the MaxIDE menu-flags when activating a code panel window. This means the last "manual configuration" updates to the one set in the file. Still a bit dirty...hmm
Any ideas to achieve above with less "dirt" ?
The text was updated successfully, but these errors were encountered: