On Mon, 4 Apr 2011 20:59:21 +0100 Frank Church <[email protected]> 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 "units/$(TargetOS)-$(LCLWidgetType)". Set the "Target file name" to "YourProjectName". See http://wiki.lazarus.freepascal.org/IDE_Window:_Compiler_Options#Paths Mattias -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
