1. Home
  2. Browse
  3. ecm

ecm

v6.22.0#0Go to latest

Extra CMake Modules (ECM), extra modules and scripts for CMake

Install

Run the following Vcpkg command to install the port.

vcpkg install ecm

Usage

ecm provides CMake files:

# Selecting particular find modules
find_package(ECM CONFIG REQUIRED)
ecm_use_find_modules(
    DIR "${CMAKE_BINARY_DIR}/cmake"
    MODULES FindEGL.cmake
    NO_OVERRIDE
)
list(PREPEND CMAKE_MODULE_PATH "${CMAKE_BINARY_DIR}/cmake")
# Everything, via find_package() and include()
find_package(ECM CONFIG REQUIRED)
list(PREPEND CMAKE_MODULE_PATH ${ECM_MODULE_PATH})
include(KDEInstallDirs)
include(KDECompilerSettings)
include(KDECMakeSettings)

Dependencies

See source

Version

v6.22.0#0

Publication

Supports

All

GitHub

KDE/extra-cmake-modules

Homepage

invent.kde.org/frameworks/extra-cmake-modules

Documentation

api.kde.org/ecm

Subtree

6cbaa38027

License

Complex license

Definition

Manifest