From 68e74d37b99f56bbd1a5f2fb8cb4ad6116f27bd3 Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Tue, 20 Jun 2023 15:46:23 -0700 Subject: add Meson build system This is, I think, equal to the autotools build-system in every practical way. The man pages have hardcoded numbers. I think this is okay, as all modern operating systems seem to use the same man page numbering now. I've also chosen to not generate a config.h file with Meson. This makes using libXau as a subproject safer, since we don't have to worry about conflicting config.h files, plus there are only a couple of declarations that are actually used. This also saves some configure time in writing out an additional file. --- meson_options.txt | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 meson_options.txt (limited to 'meson_options.txt') diff --git a/meson_options.txt b/meson_options.txt new file mode 100644 index 0000000..42f9cc2 --- /dev/null +++ b/meson_options.txt @@ -0,0 +1,9 @@ +# SPDX-License-Identifier: MIT +# Copyright © 2023 Intel Corporation + +option( + 'xthreads', + type : 'boolean', + value : true, + description : 'Whether libXau should be compiled with thread support.' +) \ No newline at end of file -- cgit v1.2.3