IDE: extra project options
Posted: Fri Jul 11, 2014 12:24 am
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
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
