[Lazarus] Failure to recompile with a different define

Mattias Gaertner nc-gaertnma at netcologne.de
Thu Sep 1 15:25:03 CEST 2016


On Thu, 1 Sep 2016 13:58:10 +0200
Giuliano Colla <giuliano.colla at fastwebnet.it> wrote:

>[...]
> Using a package isn't a very intuitive solution, when *all* the units 
> belong to the project.

Because of circular dependencies or because of company rules?

 
> this could make it much easier to have more than one project in the same 
> directory, without any risk of mix-ups.

Why do you must put all projects and units into a single directory?

 
> A simple option could be to change the default unit path proposed by 
> Lazarus: in place of lib/$(TargetCPU)-$(TargetOS), make it 
> lib/$(ProjectName)/$(TargetCPU)-$(TargetOS)

See here:
http://wiki.lazarus.freepascal.org/IDE_Window:_Compiler_Options#Change_the_output_directory_of_project_and_all_packages

Mattias


More information about the Lazarus mailing list