How to build only one module?
BlitzMax Forums/BlitzMax Beginners Area/How to build only one module?
| ||
I need to build modules (release mode), because I added koriolis zip stream". But during the build process there is an error message with MaxGui and the building process stoops. It stopped before koriolis was build. How can I build only single modules? Or jump over MaxGui? I'm using a Mac OsX 10.9. |
| ||
The "method of least faff" would be to temporarily move MaxGUI out of your Mods folder, then put it back afterwards. Or use the Advanced Modules Builder in BLIde, if you have that. [edit] Oh, Mac. So, probably not. ;) |
| ||
Is this the NSClearItems errors you get with OSX 10.9? See here http://www.blitzbasic.com/Community/posts.php?topic=101471#1205222 It may help. |
| ||
To build a single module: Go to your blitzmax\bin folder from a command prompt / shell to rebuild just brl.mod: bmk makemods -a brl bmk makemods -a -h brl (-a will force-rebuild a module even if the system thinks it's not necessary, and the -h will do the multi-threaded version. without the -h it's the standard single-threaded version) and to do a specific sub-module, e.g. brl.mod/wavloader.mod : bmk makemods -a brl.wavloader bmk makemods -a -h brl.wavloader |
| ||
On OS X, add dot-slash to your bmk commands :./bmk makemods -a brl.wavloader because BlitzMax/bin isn't on your PATH. |
| ||
Same counts for linux. This is done to avoid people writing programs deleting everything, naming them "ls" and kidding people running "ls -l" in the terminal of choice. the "." is used to refer to the "current directory" and the slash just says ./bmk => "absolutePathToCurrentDirectory/bmk". PS: never knew the "submodule"-command (never looked for it). So Thanks for mentioning it. bye Ron |