Suppose you have a package consisting of source files residing in dozens of subfolders of a root package folder. To create a .dpk file from IDE I need to browse into each subfolder, select all *.pas files and add them to the package.

Suppose you have a package consisting of source files residing in dozens of subfolders of a root package folder. To create a .dpk file from IDE I need to browse into each subfolder, select all *.pas files and add them to the package.

Is it possible to automate it, for example by just clicking on a root package folder so that all *.pas files in its subfolders are added to the package?

Comments

  1. Not that I know of, but sounds like a great expert :)

    ReplyDelete
  2. As long as you have only .pas files in these folders you can simply open Windows Explorer, mark all those folders and drag them into the Project Manager view. Unfortunately this fails when .dfm files are involved.

    ReplyDelete
  3. Alternatively you can search for *.pas in Windows explorer and add those files via drag and drop.

    ReplyDelete

Post a Comment