Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fbc: add '-buildprefix <name>' command line option
- -buildprefix <name> will override internal targetprefix option - targetprefix is set by default from -target command line option standalone fbc: binpath = <prefix>/bin/<target>/ incpath = <prefix>/inc libpath = <prefix>/lib/<target> toolname = binpath + <targetprefix> + name.exe normal fbc: binpath = <prefix>/freebasic/<targetprefix-|buildprefix> incpath = prefix/include/freebasic libpath = prefix/lib[64]/freebasic/target toolname = binpath + name Internally, this option handling could probably been done a little cleaner, because in normal fbc the prefix is appended to the bin path, but in standalone, it's added in when the tool path+name is computed. Otherwise, externally is probably ok.
- Loading branch information
Showing
3 changed files
with
48 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters