Multiplatform
BlitzMax Forums/BlitzMax Beginners Area/Multiplatform
| ||
If you wanted to create a multi-platform game/app. would you import all three of the Max2D/MaxGUI mods? |
| ||
You would compile the app on each of the three platforms. |
| ||
There is only 1 Max2D and 2 different drivers. On windows both are imported on the others only the opengl one. And to make imports selective: ?win32 ?Linux ?OSX ? :) |
| ||
Almost there.. ;-) ?MacOS And for processer specific compilation : ?MacOSPPC ?MacOSX86 |
| ||
There's even a nice section in the Documentation about it : Language -> Conditional Compiling |
| ||
by the way: does that section include the 1.26 feature of "not"? which is especially powerfull with ?NOT Debug ;-) |
| ||
Yep. Identifier may also be preceded by Not to invert the result. |
| ||
Cool, was not at home so I could not check it :) for those asking what "?Not Debug" means: Actually the same as ?Release would mean and its a great way to put Try - Catch - End Try into release only. |
| ||
If I wanted to compile a Linux app would I need the Linux OS? |
| ||
Yes. You will need to run the BM version of the target OS on the target OS (or an emulation), otherwise it will not work. You can not compile Linux or OSX nor vice versa |