Pelles C > Feature requests

Option for "Executable" path per project

(1/2) > >>

rapte:
It would be really nice if the "Executables" option was added for Projects where the path for the dlls could be updated (Project -> Project Options -> Folders -> Type (Libraries | Includes | Executables). Currently we have to copy the dlls to the folder of the exe. It is useful if a number of projects require the same dlls.

I know that this can also be done with Tools -> Options -> Projects -> Folders -> Type (Executables | Libraries | Includes), but it is done globally for all the projects.

I am using Pelles C version 11.00.2

thanks

TimoVJL:
Project options: Working directory: wasn't, what you was after ?
 

rapte:
Hi TimoVJL,

Project options: Working directory: is the correct place where the dlls should go. However what I meant was that it would be nice if the third party library BIN folder (where the dlls are placed) could be added in the path per project just as INCLUDE and LIB. The dlls could be copied from their original location only when the project was ready to be shared.

A hypothetical case: There are 10 projects of SDL2 32-bit and 64-bit each of them requiring their five dlls each for 32-bit and 64-bit in their working directory. A new version of SDL2, SDL_image and SDL_ttf is updated by replacing the old SDL folder with the new SDL folder. The project INCLUDE and LIB variables will magically point to the updated libraries, howerver all the dlls in the working directory will have to be replaced manually.

As I have mentioned earlier, this can be done in Tools -> Options -> Projects -> Folders -> Type (Executables | Libraries | Includes), but it is done globally not per project.

Thanks

Pelle:
I haven't touched this part of the code for a long time, so it's not at the top of my head. A quick search suggests it would affect multiple places (always less pleasing than a single place to change). I will look at it some more later... For now it's a "maybe"...

rapte:
Thank you Pelle

Navigation

[0] Message Index

[#] Next page

Go to full version