Commit graph

22 commits

Author SHA1 Message Date
Otto Kekäläinen ed68589af1 Create man page for btop in Markdown
Create a man page in Markdown format so that it can be read online on
GitHub etc and it can be edited much more easily than a raw troff/groff
file.

Compile it to proper man page format at build-time using 'lowdown' if
it is available on the system, otherwise just issue a warning in yellow.

Tested to work both with:

    export VERBOSE=1
    make
    make install
    make uninstall

    cmake -B build
    cmake --build build --verbose

While Lowdown is easy to manually install in all modern Linux distros
and also Homebrew for Mac, this commit does not add 'lowdown' in any
build dependencies or in the CI, that needs to be done separately.
2024-03-03 15:37:35 -08:00
Otto Kekäläinen bfe8c20ebe Fix misc spelling 2024-02-29 22:11:39 -08:00
Jakob P. Liljenberg 967ea1ab6f
Merge branch 'main' into build-info 2024-02-18 14:19:05 +01:00
Steffen Winter 83739f84e1
cmake: Remove version specifier 2024-02-12 23:56:43 +01:00
Jakob P. Liljenberg e8137674b0
Merge pull request #755 from imwints/bsd 2024-02-11 17:53:39 +01:00
Jakob P. Liljenberg 7f5b060b0c
Merge branch 'main' into fmt-header-only 2024-02-11 16:11:52 +01:00
Steffen Winter a0e2a5c1d2
cmake: Fix undefined reference to `kvm_openfiles' on BSD's 2024-02-09 12:06:16 +01:00
Steffen Winter 7717020197
Include build info in binary 2024-01-24 15:02:11 +01:00
Steffen Winter 3174c83b43
-DFMT_HEADER_ONLY as a compiler flag
This just defines FMT_HEADER_ONLY everywhere instead of just in all
files that include `btop_tools.hpp`, in case the statement gets removed
there.
2024-01-17 09:56:18 +01:00
Steffen Winter 57752df6fc
CMake: Enable OpenBSD 2024-01-15 16:07:24 +01:00
Jakob P. Liljenberg 21fe2cc07b
Merge branch 'main' into fortification 2024-01-11 09:42:09 +01:00
Steffen Winter 19c6099c7c
Use _FORTIFY_SOURCE=3 and put it behind a build flag 2024-01-08 13:19:16 +01:00
Steffen Winter 4ab43fd159
Bump cmake to v1.3.0 2024-01-07 18:59:21 +01:00
Steffen Winter 97b35d9720
Add cmake workflow for all platforms 2023-12-05 01:03:54 +01:00
Steffen Winter e35538fa29 Patch RPATH on FreeBSD, support OSX and format 2023-12-04 15:56:23 +01:00
Steffen Winter 2f59e61d87
Add GPU options for cmake based builds 2023-11-27 11:42:30 +01:00
Steffen Winter 7588d96dd4
Add check for <ranges> header 2023-11-26 21:40:29 +01:00
Steffen Winter ebbb769a6a
Move calls to find_package to where they're required 2023-11-26 21:39:13 +01:00
Steffen Winter ed0fa34a9d
Bump required CMake version 2023-11-26 19:39:29 +01:00
nobounce 5c6a281002
Add CMake support
Linux is completly supported

FreeBSD is not able to create a static executable for now. See
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273398

MacOS was not tested
2023-09-13 10:31:20 +02:00
aristocratos 833d253276 Namespaces < Classes 2021-05-14 18:54:37 +02:00
aristocratos f4b6bff4ec Init 2021-05-06 20:32:03 +02:00