<br><br><div class="gmail_quote">On 5 April 2011 00:29, Mattias Gaertner <span dir="ltr"><<a href="mailto:nc-gaertnma@netcologne.de">nc-gaertnma@netcologne.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im">On Mon, 4 Apr 2011 20:59:21 +0100<br>
Frank Church <<a href="mailto:vfclists@gmail.com">vfclists@gmail.com</a>> wrote:<br>
<br>
> I am creating 2 projects from the same source files with LCL Widget Type<br>
> win32/win64 and the other with LCL WidgetType NoGUI.<br>
><br>
> The win32/win64 version contains both Forms GUI and DataModules for running<br>
> on Windows, and the NoGUI version contains the DataModules and is targetted<br>
> mainly at on Linux, although it can run on Windows as well.<br>
><br>
> All the project and source files are in the same directory. Is there some<br>
> way to configure the output directories and unit search paths of the<br>
> projects separately so that the different units created do not overwrite<br>
> each other, when I switch from one to the other, althouugh with the project<br>
> and source files in the same directory?<br>
<br>
</div>You can use macros.<br>
For example set the "unit output directory" to<br>
"units/$(TargetOS)-$(LCLWidgetType)".<br>
Set the "Target file name" to "YourProjectName".<br>
<br></blockquote><div><br>Thanks to all for your advice.<br><br>Is there a macro for the Target File Name so that the unit output directory can be something like $(TargetFileName)/units ?<br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
See<br>
<a href="http://wiki.lazarus.freepascal.org/IDE_Window:_Compiler_Options#Paths" target="_blank">http://wiki.lazarus.freepascal.org/IDE_Window:_Compiler_Options#Paths</a><br>
<br>
<br>
Mattias<br>
<font color="#888888"><br>
<br>
--<br>
_______________________________________________<br>
Lazarus mailing list<br>
<a href="mailto:Lazarus@lists.lazarus.freepascal.org">Lazarus@lists.lazarus.freepascal.org</a><br>
<a href="http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus" target="_blank">http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus</a><br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Frank Church<br><br>=======================<br><a href="http://devblog.brahmancreations.com">http://devblog.brahmancreations.com</a><br>