# # SPDX-License-Identifier: BSD-2-Clause # SPDX-FileCopyrightText: 2019 Bhushan Shah # SPDX-FileCopyrightText: 2019 Friedrich W. H. Kossebau # SPDX-FileCopyrightText: 2019-2021 Johan Ouwerkerk # SPDX-FileCopyrightText: 2020 Nicolas Fella # SPDX-FileCopyrightText: 2021 Devin Lin # add_subdirectory(base32) add_subdirectory(uri) add_subdirectory(hmac) add_subdirectory(oath) add_subdirectory(secrets) add_subdirectory(account) add_subdirectory(model) add_subdirectory(validators) add_subdirectory(app) configure_file ("${CMAKE_CURRENT_SOURCE_DIR}/version.h.in" "${CMAKE_CURRENT_BINARY_DIR}/version.h") # # The features header should be namespaced, or at least it *must not* be called 'features.h'. # Reason is that the GNU C++ standard library implementation also refers to a 'features.h' # and compilation will blow up very badly inside 'os_defines.h' if it does not get the # 'features.h' it was (really) looking for. # configure_file ("${CMAKE_CURRENT_SOURCE_DIR}/keysmith-features.h.in" "${CMAKE_CURRENT_BINARY_DIR}/keysmith-features.h") set(keysmith_SRCS main.cpp ) set(keysmith_internal_libs keysmith_lib) qt5_add_resources(RESOURCES resources.qrc) add_executable(keysmith ${keysmith_SRCS} ${RESOURCES}) target_link_libraries(keysmith Qt5::Core Qt5::Gui Qt5::Qml Qt5::Quick Qt5::Svg Qt5::QuickControls2 KF5::I18n ${keysmith_internal_libs} ) if (ENABLE_DBUS_INTERFACE) target_link_libraries(keysmith KF5::DBusAddons) endif() if(ANDROID) kirigami_package_breeze_icons(ICONS application-quit answer-correct edit-delete edit-undo go-next list-add unlock lock ) endif() install(TARGETS keysmith ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})