[Lazarus] How do you configure separate output directories for projects in same directory.
nc-gaertnma at netcologne.de
Tue Apr 5 01:29:12 CEST 2011
On Mon, 4 Apr 2011 20:59:21 +0100
Frank Church <vfclists at gmail.com> wrote:
> I am creating 2 projects from the same source files with LCL Widget Type
> win32/win64 and the other with LCL WidgetType NoGUI.
> The win32/win64 version contains both Forms GUI and DataModules for running
> on Windows, and the NoGUI version contains the DataModules and is targetted
> mainly at on Linux, although it can run on Windows as well.
> All the project and source files are in the same directory. Is there some
> way to configure the output directories and unit search paths of the
> projects separately so that the different units created do not overwrite
> each other, when I switch from one to the other, althouugh with the project
> and source files in the same directory?
You can use macros.
For example set the "unit output directory" to
Set the "Target file name" to "YourProjectName".
More information about the Lazarus