Page MenuHome GnuPG

CMakeLists.txt
No OneTemporary

CMakeLists.txt

cmake_minimum_required(VERSION 3.16)
set(VERSION "0.0.1")
project(gnupgpass VERSION 0.0.1)
set(QT_MIN_VERSION "5.15.2")
set(KF_MIN_VERSION "5.102.0")
find_package(ECM ${KF_MIN_VERSION} REQUIRED NO_MODULE)
set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH})
include(KDEInstallDirs)
include(KDECompilerSettings NO_POLICY_SCOPE)
include(KDECMakeSettings)
include(ECMMarkAsTest)
include(ECMAddTests)
include(FeatureSummary)
include(ECMAddAppIcon)
include(ECMSetupVersion)
include(KDEGitCommitHooks)
include(KDEClangFormat)
set(CMAKE_AUTOUIC ON)
# Generate header with version number
ecm_setup_version(${VERSION} VARIABLE_PREFIX GPGPASS VERSION_HEADER
"${CMAKE_CURRENT_BINARY_DIR}/gpgpass_version.h")
find_package(Qt5 ${QT_MIN_VERSION} CONFIG REQUIRED COMPONENTS Core Widgets Test)
include_directories(${CMAKE_BINARY_DIR})
find_package(KF5 ${KF_MIN_VERSION} REQUIRED COMPONENTS Prison IconThemes I18n ConfigWidgets)
find_package(QGpgme 1.18 CONFIG REQUIRED)
add_subdirectory(main)
add_subdirectory(src)
add_subdirectory(tests)
install(FILES org.gnupg.gpgpass.desktop DESTINATION ${KDE_INSTALL_APPDIR})
install(FILES org.gnupg.gpgpass.appdata.xml DESTINATION ${KDE_INSTALL_METAINFODIR})
install(FILES artwork/sc-gpgpass.svg DESTINATION ${KDE_INSTALL_FULL_ICONDIR}/hicolor/scalable/apps RENAME org.gnupg.gpgpass.svg)

File Metadata

Mime Type
text/plain
Expires
Fri, Aug 29, 7:58 AM (1 h, 14 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
43/af/67ae2e9f0b67e11e39028d845d6a

Event Timeline