Hello,p
Not sure if this is where this question belongs but here it is.
First of all, I am using Windows 10 64 bit, Mingw 64 bit compiler, wxWidgets 3.1.3 monolithis, unicode, release build and Codeblocks 20.03 which I build using the downloaded CodeBlocks_wx31_64.cbp file.
My question is "Is it possible to change the build configuration of an existing CB wxWidgets project?" i.e. change the following
Shared to static or vice versa
Monolithic to multiple libraries or vice versa (if shared)
Change unicode setting
Add a debug version even if not selected at the project creation
The question originates from my attempt to build PLPlot. CMake could not locate my wxWidgets location when trying to use CMake. It failed on the command
find_package(wxWidgets 3.0.0 COMPONENTS base core)
in the file named wxwidgets.cmake in the \plplot-5.15.0.tar\plplot-5.15.0\cmake\modules directory. Looking at the CMake instruction with it looking for base and core libraries, I decided to rebuild wxWidgets with the multiple libraries. This worked and I completed building PLPlot.
I then decided that using the multiple libraries is a good idea to save CPU memory (Don't care about disk space) so I tried to rebuild CodeBlocks using the same cbp file adding the new libraries for each time I got an error that something could not be found. All of this worked until the very end until linking and being told that the monolithic Library could not be found even though the monolithic library is not listed in the library lists. I searched through through the cbp file and could find anything that indicated how to change to multiple libraries.
I can of course use the codebloks executable build with monolithic to to build other projects with multiple libraries, but after thinking decided it could be usefull to be able to change build configurations for existing projects (possibly by changing the cbp file).
Is this possible?