Page 1 of 1

IDE: extra project options

Posted: Fri Jul 11, 2014 12:24 am
by kenmo
Two requests for the IDE / Project options:

1. It would be nice if you could assign OS(es) to each Compile Target. This is useful for cross-platform projects with different Compile Targets set up for different OS. (For example, if a target has a ".exe" output file and a ".ico" icon, it's not meant to build on Mac! To avoid this I usually add a custom constants to force a CompilerError on unintended OSes.) With this new feature, choosing "Build All" will ignore targets for other OSes, rather than try compile all targets which can be slower, overwrite good executables, or give compiler errors (and these errors keep the Build All window open).

Possible added bonus: When opening a project, maybe it could choose a valid Compile Target based on your OS. If I open a project on Mac, and the active Compile Target is for Windows, maybe it could activate the first Mac target automatically?


2. Less important, but nice: In the "Compile/Run" options, the only choices for a temporary executable are in the PB compiler folder (default?) or in the folder of the "Input source file". It would be nice if you could pick a custom folder/filename for the temporary executable. Sometimes I want to generate it in a "bin" or "Build" or "Temp" project subfolder, rather than PB's home folder or my project's "Source" folder.


Thanks for considering 8)

Re: IDE: extra project options

Posted: Sat Aug 09, 2014 3:38 am
by kenmo
Another thought:

3. If my request #1 is implemented (specifying an OS for each Target in a project) then it could enable OS-specific project options!

For example, on MacOS, it would be nice to enter a list of file extensions the .app supports (which would be written to the generated .plist file) - no more running a script to modify the .plist after every compile. (I am not on a Mac right now... so I can't check... but if this feature ALREADY exists then I apologize for this request!)