2
votes

I found a similar question but did not find the answer. The question is how easily to add all installed runtime packages to the list in "project options/package/runtime packages" in a Delphi XE2 project? In XE and earlier versions you can do it by simply checking/unchecking "build with runtime packages" and those packages immediately appear in the edit below.

2
Project|Options|Packages|Runtime packages|Check "Link with runtime packages". Runtime_Packages. - LU RD
The line below, "Runtime Packages", holds the list of packages, just click on it. A dotted button appears to the right, and there you are. - LU RD
I know about this button, it's not the question, the question was "how easily to add...". This button means that you have to search for the dcps in various directories which you may not know. I cannot say that it's easy. - Molochnik
In XE2 there are different default runtime packages for different platforms. You can see the default(inherited) runtime packages at the bottom of the form, whereas in XE the default list is shown at the top. Other than that, adding an extra runtime package is the same in XE and XE2. - LU RD
So your answer is that you have to manually add these packages one by one and there is no way to easily add all installed packages by two mouse clicks in XE2, correct? - Molochnik

2 Answers

2
votes

Create a new project and copy list from its options.

1
votes

Check Link with runtime packages. Check Inherit for ´Runtime packages`.

enter image description here

The default (inherited) runtime packages are shown at the bottom list and is included in your project. Only add runtime packages to the upper list that is not included in the lower list.

enter image description here