summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2022-06-17 13:46:04 +0300
committerPanu Matilainen <pmatilai@redhat.com>2022-06-28 16:33:33 +0300
commit8c3fb5eb01cae84aca9dac4729e1dce1def59b8c (patch)
tree88f57aba1fb318b844af1b1bda997f5bd61c659b /include
parent5f8ac6d1ad060955b5370a2ea5e12d88e3f4174d (diff)
downloadrpm-8c3fb5eb01cae84aca9dac4729e1dce1def59b8c.tar.gz
Add an experimental CMake build system
This is an incomplete release-early version, NOT intended or suitable for production use. It is intended to replace the autotools based buildsystem in rpm 4.20, until then it'll be developed alongside it. This causes some extra complications of course, but then we avoid a huge flag-day, and that matters more. To those wondering why cmake and not ${myfavorite}: the community around us effectively made that choice for us. We've made a lot of noise about bootstrap dependencies. When libsolv, dnf and all the related stack is powered by cmake build, it'd be just foolish to go with anything else. This way people working on the rpm stack have only one build system to learn, there's peer support available nearby and bootstrap dependencies are reduced, not increased. It also doesn't hurt that cmake is actually and actively maintained.
Diffstat (limited to 'include')
-rw-r--r--include/rpm/CMakeLists.txt16
1 files changed, 16 insertions, 0 deletions
diff --git a/include/rpm/CMakeLists.txt b/include/rpm/CMakeLists.txt
new file mode 100644
index 000000000..c9fbcc073
--- /dev/null
+++ b/include/rpm/CMakeLists.txt
@@ -0,0 +1,16 @@
+set(rpm_HEADERS
+ argv.h rpmbase64.h rpmcrypto.h rpmfileutil.h rpmio.h
+ rpmkeyring.h rpmlog.h rpmmacro.h rpmpgp.h rpmsq.h rpmstring.h
+ rpmstrpool.h rpmsw.h rpmurl.h rpmutil.h rpmver.h
+
+ header.h rpmarchive.h rpmcallback.h rpmcli.h
+ rpmdb.h rpmds.h rpmfi.h rpmfiles.h rpmlib.h
+ rpmprob.h rpmps.h rpmtag.h rpmtd.h rpmte.h rpmte.h rpmts.h
+ rpmtypes.h
+
+ rpmbuild.h rpmspec.h rpmfc.h
+
+ rpmsign.h
+)
+
+install(FILES ${rpm_HEADERS} DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/rpm )