# Generated from tst.pro.

#####################################################################
## tst_qlibrary Test:
#####################################################################

# Collect test data
list(APPEND test_data "../library_path/invalid.so")

qt_internal_add_test(tst_qlibrary
    OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../"
    SOURCES
        ../tst_qlibrary.cpp
    TESTDATA ${test_data}
)

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

if(ANDROID)
    # Resources:
    set(qmake_libs_resource_files
        ${CMAKE_CURRENT_BINARY_DIR}/../libmylib.prl
        ${CMAKE_CURRENT_BINARY_DIR}/../libmylib.so
        ${CMAKE_CURRENT_BINARY_DIR}/../libmylib.so2
        ${CMAKE_CURRENT_BINARY_DIR}/../system.qt.test.mylib.so
    )

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