| 1 |
include_directories( |
| 2 |
${CMAKE_CURRENT_SOURCE_DIR} |
| 3 |
${CMAKE_CURRENT_BINARY_DIR} |
| 4 |
${CMAKE_SOURCE_DIR} |
| 5 |
${CMAKE_SOURCE_DIR}/online-accounts-daemon/lib |
| 6 |
${LomiriOnlineAccountsQt_SOURCE_DIR} |
| 7 |
${LomiriOnlineAccountsQt_SOURCE_DIR}/.. |
| 8 |
) |
| 9 |
|
| 10 |
set(TEST tst_authentication_data) |
| 11 |
|
| 12 |
set(SOURCES |
| 13 |
${LomiriOnlineAccountsQt_SOURCE_DIR}/authentication_data.cpp |
| 14 |
tst_authentication_data.cpp |
| 15 |
) |
| 16 |
|
| 17 |
add_executable(${TEST} ${SOURCES}) |
| 18 |
|
| 19 |
target_link_libraries(${TEST} |
| 20 |
Qt${QT_VERSION}::Core |
| 21 |
Qt${QT_VERSION}::DBus |
| 22 |
Qt${QT_VERSION}::Test |
| 23 |
) |
| 24 |
|
| 25 |
add_test(${TEST} ${CMAKE_CURRENT_BINARY_DIR}/${TEST}) |