16 Commits

Author SHA1 Message Date
Marcus Holland-Moritz
5aa8d88694 refactor: move tools to their own directory 2024-08-12 17:32:04 +02:00
Marcus Holland-Moritz
2aa6a277ca build: refactor dwarfs library definitions 2024-08-12 17:32:04 +02:00
Marcus Holland-Moritz
06a957a792 chore: replace PRJ_ with DWARFS_ in version files 2024-08-09 23:27:21 +02:00
Marcus Holland-Moritz
5f6b03bb10 build: try moving to cmake 3.28 2024-05-16 09:35:46 +02:00
Marcus Holland-Moritz
09749b3a2e chore: add cmake_minimum_required to version.cmake 2024-01-20 12:46:40 +01:00
Marcus Holland-Moritz
9088a53669 feat: include latest commit date in tool header 2024-01-07 10:52:56 +01:00
Marcus Holland-Moritz
616841199b chore: use fixed-length commit hashes
The automatically determined value was sometimes differing between
platforms.
2024-01-07 10:52:56 +01:00
Marcus Holland-Moritz
8808d1dbac Allow version override for nixpkgs (fixes github #155) 2023-08-05 09:19:54 +02:00
Marcus Holland-Moritz
274885f1f1 Fix release build 2023-07-09 19:54:25 +02:00
Marcus Holland-Moritz
9a7ed059c2 Don't write version files to source tree when in git repo 2023-07-09 10:57:37 +02:00
Marcus Holland-Moritz
242d316007 Fix #99: build fails if build dir is outside of git repo 2022-10-24 09:53:31 +02:00
Marcus Holland-Moritz
1e46f2270e Use real directory paths in version.cmake (fixes gh #47) 2021-06-08 20:51:57 +02:00
Marcus Holland-Moritz
c97105f3e9 Move fatal error after useful debug output (d'oh!) 2021-06-06 23:08:31 +02:00
Marcus Holland-Moritz
35cac17dab Fix version file generation in external git repo
If the source tarball is extracted within a git repository, the
version file generation code would try to re-create the version
files and would very likely fail doing so.

This is an issue on Arch Linux, where packages are apparently
built from within a repo that hold the package build information.
2021-04-11 13:20:24 +02:00
Marcus Holland-Moritz
1bc3a66cf5 Fix version.cmake 2021-01-07 17:56:55 +01:00
Marcus Holland-Moritz
4df32dc00c Improve version handling 2020-12-30 16:37:54 +01:00