AusweisApp2/test/qml/CMakeLists.txt

13 lines
328 B
CMake
Raw Permalink Normal View History

2019-01-03 15:06:22 +01:00
ADD_SUBDIRECTORY(mobile)
ADD_SUBDIRECTORY(desktop)
ADD_SUBDIRECTORY(generic)
2017-12-20 14:54:05 +01:00
2019-01-03 15:06:22 +01:00
SET(MAIN_FILES QmlTestRunner.cpp)
IF(ANDROID)
ADD_LIBRARY(QmlTestRunner SHARED ${MAIN_FILES})
ELSE()
ADD_EXECUTABLE(QmlTestRunner ${MAIN_FILES})
ENDIF()
TARGET_LINK_LIBRARIES(QmlTestRunner Qt5::QuickTest Qt5::Gui AusweisAppGlobal AusweisAppUiQml)