On 5 April 2011 00:29, Mattias Gaertner <[email protected]> wrote:
> 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". > > Thanks to all for your advice. Is there a macro for the Target File Name so that the unit output directory can be something like $(TargetFileName)/units ? > 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 > -- Frank Church ======================= http://devblog.brahmancreations.com
-- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
