[fpc-devel] RTTI unit
Sven Barth
pascaldragon at googlemail.com
Mon Aug 30 09:45:40 CEST 2010
Am 29.08.2010 22:48, schrieb Graeme Geldenhuys:
> On 29 August 2010 15:32, Dimitri Smits wrote:
>>> You're free to choose one over the other; Personally, I favour
>>> fpc-unit style.
>>> I find it works most easily, definitely if you use Lazarus.
>>
>> so, lpi files and the like are acceptable in fpc?
>
>
> I think he means that there is a GUI unit test runner for fpcunit
> included with Lazarus (and fpGUI by the way). As for the .lpi files, I
> don't think those belong in the FPC project source. FPC and Lazarus
> are separate projects, not everybody using FPC use Lazarus. After
> all, all IDE's worth using, should have a feature to create a IDE
> Project File from a program unit. I know Lazarus IDE and MSEide can do
> this - so that again indicates that a specific IDE project file
> doesn't need to be in the FPC source code.
>
LPI files are already included with FPC. E.g. for the compiler itself
(so you don't need to add all search paths manually...) and for the
Win32 RTL (excluding the system unit).
No autogenerate system will add the correct searchpaths by itself, so
some file must be included for that system. So why not use the LPI file...
Regards,
Sven
More information about the fpc-devel
mailing list