a2376f4ded
It is not possible to exclude targets based on the build configuration in CMake. loadDebugPlugin() and loadReleasePlugin() will always fail as both debug and release plugins are built regardless of the build configuration. This patch adds the CMAKE_BUILD define and skips the opposite test on Windows. E.g.: With config = Debug, the loadReleasePlugin() test is skipped and viceversa. Change-Id: I2659882604bb39eb11d3e9e2b2b37a2972475285 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> |
||
---|---|---|
.. | ||
debugplugin | ||
invalidplugin | ||
releaseplugin | ||
.gitignore | ||
.prev_CMakeLists.txt | ||
CMakeLists.txt | ||
qplugin.pro | ||
tst_qplugin.cpp | ||
tst_qplugin.pro |