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:
authorkcgen <kcgen@users.noreply.github.com>2022-06-14 03:30:07 +0300
committerkcgen <kcgen@users.noreply.github.com>2022-06-14 03:30:07 +0300
commit958996cf83b761fd5d33429e63e2459b41b2ae50 (patch)
treecca405121b158fe61259836fdc9f64fe5f1db98a /meson.build
parentaf32b4aa07b63b655f067c71619d1e0715dfcc94 (diff)
Add a Meson option (-Dasm=true) for saving assembly output
Co-authored-by: kcgen <kcgen@users.noreply.github.com> Co-authored-by: Kirk Klobe <kklobe@gmail.com>
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build5
1 files changed, 5 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index 03f84b503..b27b989fd 100644
--- a/meson.build
+++ b/meson.build
@@ -72,6 +72,11 @@ if get_option('buildtype') == 'release'
'-fdata-sections']
endif
+if get_option('asm')
+ extra_flags += ['--save-temps',
+ '/FAs']
+endif
+
if host_machine.system() == 'windows'
extra_flags += '-Wno-pedantic-ms-format'
endif