The CBBuilder tool.
As requested by some users, a new tool - the CBBuilder - will be released soon in the new CB release.
This new application simplifies the process of creating executables from BASIC source file.
While in the past this activity was manageable only from the command prompt, now it is possible to do it by a GUI while the user retaining fine control over all phases.
Through CBBuilder is possible choose the C compiler to use, the architecture, how link the C runtime, how link the CB runtime and set the step do perform.
But there is a good news also for those who prefer to continue using the application from the command prompt, in fact the CBBuilder application could be used as a cmd script, here is how to do it and which parameters to use:
CBBuilder [-s] [-e] [-?] [project]
[-s] Auto start the build
[-e] Auto exit after the build
[-?] Display a brief help
[project] The project file to use
CBBuilder -s -e
If you don't pass the project file the default CBBuilder.cbproj is used
From the builder, you can decide which steps perform, decide which steps to run and how to run them, such as checking each command or redirecting the output to a file.
For convenience, the following list shows the typical command prompt paths for the various compilers:
Please adjust the C cmd prompt path accordingly with your environment.
The CBBuilder application require .NET Framework 4.5.