Home GnuPG

build: Generate camel-case headers with cmake module

Description

build: Generate camel-case headers with cmake module

* CMakeLists.txt: Include ECMGenerateHeaders.
* cmake/modules/ECMGenerateHeaders.cmake: New.
* src/CMakeLists.txt: Use ecm_generate_headers instead of a manual loop
to generate the camel-case headers.

The ECM cmake module is copied from KDE's extra-cmake-modules. I have
just changed the copyright notices to GNU style and I have added the
license text verbatim.

Details

Provenance
ikloeckerAuthored on Dec 17 2024, 3:52 PM
Parents
rGPGMEQTa6e69542190d: build: Use cmake's AUTOMOC to run moc
Branches
Unknown
Tags
Unknown

Event Timeline