# Generated from test.pro.

#####################################################################
## tst_qfactoryloader Test:
#####################################################################

qt_internal_add_test(tst_qfactoryloader
    OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../"
    SOURCES
        ../plugin1/plugininterface1.h
        ../plugin2/plugininterface2.h
        ../tst_qfactoryloader.cpp
    PUBLIC_LIBRARIES
        Qt::CorePrivate
)

## Scopes:
#####################################################################

qt_internal_extend_target(tst_qfactoryloader CONDITION NOT QT_FEATURE_library
    PUBLIC_LIBRARIES
        # Remove: L
        ../bin/
        plugin1
        plugin2
)

if(ANDROID)
    # Resources:
    set(qmake_libs_resource_files
        ${CMAKE_CURRENT_BINARY_DIR}/../bin
    )

    qt_internal_add_resource(tst_qfactoryloader "qmake_libs"
        PREFIX
            "android_test_data"
        BASE
            "${CMAKE_CURRENT_BINARY_DIR}/.."
        FILES
            ${qmake_libs_resource_files}
    )
endif()
