Memnarch / Delphinus

An alternative Packagemanager for the Delphi-IDE
Mozilla Public License 2.0
235 stars 64 forks source link

Option to override settings of Delphinus.Install.json when installing #67

Open bravecobra opened 5 years ago

bravecobra commented 5 years ago

Currently there is no option to override the settings specified in a Delphinus.Install.json. Some repositories add paths containing source code in the Library Path, causing a recompile of their source code upon each build of a project, not something I (or any other Delphi developer should) want. So an option to override those settings when installing, is advisable. When uninstalling, those overriden settings are to be remove as well (instead of search for the ones specified in the Delphinus.Install.json)

Memnarch commented 5 years ago

There should be a "lib" path in front of the first searchpath. These paths include the precompiled DCUs. AFAIK the compiler does not recompile, when a dcu is found (Please correct me, if this isn't the case here)

bravecobra commented 5 years ago

The compiler recompiles if a pas file is found regardless of whether a dcu exists, so adding the the source files to the Library Path is a bad idea for 3rd party libraries as that would recompile their source every time for each project. I don't want that. So if a 3rd party repo specified that in their delphinus.install.json, I want to be able to override that, when using that repo.

Memnarch commented 5 years ago

I'll look into it