/MdtCMakeConfig

Global scope MdtConfig.cmake

Primary LanguageCMakeBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

Global scope MdtConfig.cmake

pipeline status

[[TOC]]

Usage

This illustrates what a Mdt library should do so that the user can use the CMake find_package() component syntax:

find_package(Mdt0 REQUIRED COMPONENTS PlainText)

Project using Conan

The library should depend on MdtCMakeConfig:

[requires]
mdtcmakeconfig/0.x.y@scandyna/testing

The user project will then use the library:

[requires]
mdtplaintext/0.x.y@scandyna/testing

Install the Debian package

The library should depend on MdtCMakeConfig:

sudo apt-get install mdt0plaintext
# Will also install mdt0cmakeconfig

Note: Debian package is not implemented yet

Work on MdtCMakeConfig

Build and test

See BUILD.

Rationale

Conan

To create Conan packages that support find_package COMPONENTS syntax with the new Conan generators is discussed in Split Qt packages.

There are also some issues about that:

No package manager

Here are some thought about usage without a package manager.

Background

Here are also some other discussions about Mdt.