Hello, I'm looking for an option to copy a .dll file near to where my .exe file goes, but I can't find any. I would like to be able to do this automatically during the build process and not copy the .dll everytime manually. Can it be done somehow?
It can be done manually as I said, but not what I'm asking though.
You can configure any command to run after compilation: https://wiki.freepascal.org/IDE_Window:_Compiler_Options#Compilation.To find out the location of the compiled application, use IDE macros: https://wiki.freepascal.org/IDE_Macros_in_paths_and_filenames#Paths_and_Parts.