diff options
author | David Robillard <d@drobilla.net> | 2024-12-10 21:35:13 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2024-12-11 00:22:10 -0500 |
commit | ba2c2a08973cb5eae1feabbb9431c897cded03f6 (patch) | |
tree | e593d0d2298ccc6fef89b624fca098765ac2d768 /meson_options.txt | |
parent | 6102356198be362e78ebd8ea16dee30a7d370cf8 (diff) | |
download | zix-ba2c2a08973cb5eae1feabbb9431c897cded03f6.tar.gz zix-ba2c2a08973cb5eae1feabbb9431c897cded03f6.tar.bz2 zix-ba2c2a08973cb5eae1feabbb9431c897cded03f6.zip |
Add option to build for older Windows versions
Adds configuration checks for Windows API functions, and a win_ver
configuration option to change the targeted API version.
Diffstat (limited to 'meson_options.txt')
-rw-r--r-- | meson_options.txt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/meson_options.txt b/meson_options.txt index 0ae44d1..f35da04 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -1,4 +1,4 @@ -# Copyright 2020-2023 David Robillard <d@drobilla.net> +# Copyright 2020-2024 David Robillard <d@drobilla.net> # SPDX-License-Identifier: 0BSD OR ISC option('benchmarks', type: 'feature', yield: true, @@ -33,3 +33,7 @@ option('tests_cpp', type: 'feature', yield: true, option('title', type: 'string', value: 'Zix', description: 'Project title') + +option('win_ver', type: 'combo', value: 'vista', + choices: ['nt4', 'winxp', 'vista'], + description: 'Latest Windows API version to use') |