Output directory
BlitzMax Forums/Brucey's Modules/Output directory
| ||
Is there anyway in Bmax-NG that you can specify the output directory in the IDE so that it is different to where to code currently lives? Thanks |
| ||
bmk will build to wherever you want, but the IDE builds to the same dir as main file. Without a proper concept of "projects" I'm not sure how you'd manage that information from build to build - you don't really want it asking you every time you build, as that will just get in your way. |
| ||
I was thinking of maybe more of a compiler flag in the code. Something like ?BuildDir D:\BuildHere Also would it be possible using Lua, is that pre-build only that you can use Lua? One last question for BMX-NG where does it look for MinGW, is there a priority list? |
| ||
@MinGW It looks in this order : * BlitzMax/MinGW32 - local folder with complete MinGW distribution * %MINGW% - environment variable * fallback to using BlitzMax/bin and BlitzMax/lib The first case makes it easier to have multiple BlitzMax builds using different versions of MinGW. (otherwise, you'd have to change MINGW more often). |
| ||
Maybe we could even have a "folder / project based" config file ? - similar to a "?"-conditional (with the difference of being backwards compatible, and only dependend on bmk). So we could use: * project/folder adjusted paths (or whatelse ... building paths etc) * BlitzMax/MinGW32 - local folder with complete MinGW distribution * %MINGW% - environment variable * fallback to using BlitzMax/bin and BlitzMax/lib bye Ron |
| ||
Not sure why you'd want to completely rebuild everything every time you wanted to compile a project pointing to a different MinGW? (based on the idea of projects using different versions of MinGW) Seems like a lot of potential waiting around. |
| ||
Right... absolutely forgot the "blitzmax modules" . Sorry for the brain fart. bye Ron |