[SOLVED] Including not used units in a project lazarus / 21-General ---------------------------------------------------------------------- egsuh · 2024-10-31 05:54 In my applications, some units are shared by several projects while others are used in only one project. So, I'd like to make one project which contains all units. Some units will never be used. This is to check consistency of syntax --- for example, when I change one part of shared units then all other units that use those shared units must compile together. Or when I change definition of interface, I must follow up all units that use the interface. Any problem with this idea? ---------------------------------------------------------------------- Thaddy · 2024-10-31 08:14 Not as such, but consider putting them in a package: I have my libraries often in a package and recompile that when needed. ---------------------------------------------------------------------- wp · 2024-10-31 09:10 If you don't have too many projects you could create a project group ("Project" > "New project group") and add all these projects to it ("Add" > "Add from file"). You can also add packages. A project group allows to compille all contained projects/packages by means of a single click (Select the project group node and click "Compile" or "Compile clean"). This way you easily get notified when a project/package/unit does not compile and needs to be updated. ---------------------------------------------------------------------- egsuh · 2024-11-01 06:10 Quotecould create a project group Wow. This is excellent. I should have studied a little more.  Thanks very much.