Jump to content
dmitrybv

*.bpl and *.dcp files for Release and Debug configuration.

Recommended Posts

Good day.
By default, when compiling packages in Release and Debug mode, the following files are created
*.dcu, *.bpl, *.dcp. If you enable generation of C++ files, then *.lib, *.bpi files are also created.


Usually *.dcu files are moved to the \$(Platform)\$(Config) folder
*.bpl files are moved to the $(BDSCOMMONDIR)\Dcp folder
*.dcp, *.lib, *.bpi files are moved to the $(BDSCOMMONDIR)\Bpl folder


But since the $(BDSCOMMONDIR)\Dcp and $(BDSCOMMONDIR)\Bpl folders do not provide subfolders for Release and Debug configuration, how does the IDE separate *.bpl, *.dcp, *.lib, *.bpi files for Release and Debug configuration?

Share this post


Link to post
4 hours ago, dmitrybv said:

*.bpl files are moved to the $(BDSCOMMONDIR)\Dcp folder
*.dcp, *.lib, *.bpi files are moved to the $(BDSCOMMONDIR)\Bpl folder

You have that backwards.

4 hours ago, dmitrybv said:

But since the $(BDSCOMMONDIR)\Dcp and $(BDSCOMMONDIR)\Bpl folders do not provide subfolders for Release and Debug configuration, how does the IDE separate *.bpl, *.dcp, *.lib, *.bpi files for Release and Debug configuration?

It doesn't.  Libs that are shipped with the IDE are separated, but user-provided libs are not. So either separate them yourself, or don't have them both installed at the same time.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×