I am trying to link against libraries that are all in the same directory and use the following naming convention:
libFoo64.a # 64-bit release
libFoo32.a # 32-bit release
libFood64.a # 64-bit debug
libFood32.a # 32-bit debug
What can I put in the QMake .pro file so that the right library will be found for each build?
I am using QtCreator 4.9.0 (MSYS2 build) with the default kits enabled:
- Desktop Qt MinGW-w64 32-bit (MSYS2)
- Desktop Qt MinGW-w64 64-bit (MSYS2)
and for a 32-bit debug build I will choose the 32-bit kit and then the Release configuration under that, etc.
I saw this question which indicates how to set different QMake options for Debug vs. Release but I'm not sure how to extend that to also use different options depending on which Kit is in use.