Reputation: 348
I know using DESTDIR to specify export path, but I don't know how can I export the library file to path which is different from DESTDIR. Like that:
---Build
|---bin
| |---*.exe
| |---*.dll
|---lib
| |---*.lib
Thanks for helping
Upvotes: 2
Views: 611
Reputation: 1767
QMake has a special, windows-only variable DLLDESTDIR
which you can use to specify a different destination for the .dll
itself. So to achieve what you want, point DESTDIR
to the directory where everything except the DLL should end up, end DLLDESTDIR
to the location for the DLL:
DESTDIR = lib
win32: DLLDESTDIR = bin
Upvotes: 1