News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

save linker settings libraries

Started by blacksages, February 15, 2019, 12:13:35 PM

Previous topic - Next topic

blacksages

Isn't it possible to add a feature so that in the linker settings, where I list the linked libraries, I could reuse a list of linked libraries I've already made?

I'm coding in c++, I don't know if the interface change for others projects.

But whenever I have to start a new project that needs the same libraries of another project (even just for quick testing) I need to relist every damn libraries and be CAREFUL of the order. This is very bothersome, and makes my codeblocks UX quite disatisfying.

Miguel Gimenez

Certainly it is a hassle, specially with non-monolithic build of wxWidgets (in MSW) or extensive use of MSW API.

The easiest way would be adding a popup menu (or two buttons under the list box) named "Copy selected to clipboard" and "Paste".

I can try adding this, but only after devs pronounce favorably.

gd_on

#2
I haven't tried this, but there is an option to create a user template/model from a usable project. May be it's a good way to search ...
Windows 11 64 bits (25H2), svn C::B (last version or almost!), wxWidgets 3.3.2, Msys2 Compilers 16.1.0, 64 bits (seh, posix : gcc, g++ and gfortran in C:\msys64\mingw64) or 32 bits (dwarf2, posix  in C:\msys64\mingw32).

BlueHazzard

#3
There is a plugin that is called libfinder. I think it adds the libraries automatically as needed to the project.
I have never used it and honestly i do not know what it does... Maybe you can look at it, and report back ;)
it is shipped with codeblocks, but as i said, no idea how it works... http://wiki.codeblocks.org/index.php/Library_Finder

oBFusCATed

Also there is the project options manipulator plugin.

Also it is possible to write a script which adds the libs you want to have added. It would be 5-10-20 lines of code...
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]