Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dosbox-staging/dosbox-staging.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatryk Obara <dreamer.tan@gmail.com>2020-12-20 13:38:00 +0300
committerPatryk Obara <patryk.obara@gmail.com>2021-01-13 13:21:58 +0300
commit5c14ee1d535534df17ec9c535618dcbb163982a6 (patch)
treea55055d1967f60f24476a0a76af4828f76a4e2e7 /meson_options.txt
parent6845223e70547c65424054342c8a4e9022f26676 (diff)
Handle dynrec defines depending on host architecture
There are 5 defines directly related to the dynamic core feature: C_TARGETCPU, C_DYNREC, C_DYNAMIC_X86, C_UNALIGNED_MEMORY, and WORDS_BIGENDIAN. This commit coverts the first 4.
Diffstat (limited to 'meson_options.txt')
-rw-r--r--meson_options.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/meson_options.txt b/meson_options.txt
index 0fc4f5254..ebb099812 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -28,3 +28,9 @@ option('enable_debugger',
choices : ['normal', 'heavy', 'none'],
value : 'none',
description : 'Build emulator with internal debugger feature.')
+
+option('dynamic_core',
+ type : 'combo',
+ choices : ['auto', 'dyn-x86', 'dynrec', 'none'],
+ value : 'auto',
+ description : 'Select the dynamic core implementation.')