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-14 06:14:08 +0300
committerPatryk Obara <patryk.obara@gmail.com>2020-12-17 00:10:27 +0300
commit57d8062b1346383d00ab0f1a27284cae7cda3d58 (patch)
tree105c4a8987d4ad29302deb3e598307d2cd7c1dfe /meson_options.txt
parent8ce19a732e2aeb818a8646332b6a2b7b47436a37 (diff)
Start migration to meson buildsystem
As of right now, new buildsystem is capable of creating clean, featureful builds on Linux x86_64 - but these are not equivalent of all that are exposed via autoconf yet. As new features will be added, it will gradually replace Autotools and build.sh. Preserve our existing structure of building a static library per "module", and then linking them together to create dosbox binary. Unlike automake, we don't need to create a library per subdirectory - it's entirely our pragmatic choice. As a result, we don't have multiple sub-libraries for e.g. hardware module: all files inside are handled by a single meson.build file (we can simplify this even further and make the project structure even flatter or deeper as needed. Create config.h.in template file - meson turns it into our new config.h file, filling it with information detected in meson.build scripts. Create new file for main function - this way it'll be easier to ignore this file for gtest builds (which will have their own main functions). Old main was renamed to sdl_main and is now declared as the very first function in dosbox.h file. Update elementary build documentation in README.md and CONTRIBUTING.md. Remove majority of content in the INSTALL file. Information in that file was either outdated or is now automatically verified by meson.build script.
Diffstat (limited to 'meson_options.txt')
-rw-r--r--meson_options.txt24
1 files changed, 24 insertions, 0 deletions
diff --git a/meson_options.txt b/meson_options.txt
new file mode 100644
index 000000000..9e2b7b6a7
--- /dev/null
+++ b/meson_options.txt
@@ -0,0 +1,24 @@
+option('use_sdl2_net',
+ type : 'boolean',
+ value : true,
+ description : 'Enable networking features via SDL2_net (modem, ipx)')
+
+option('use_opengl',
+ type : 'boolean',
+ value : true,
+ description : 'Enable OpenGL support')
+
+option('use_fluidsynth',
+ type : 'boolean',
+ value : true,
+ description : 'Enable built-in MIDI support via FluidSynth')
+
+option('use_opusfile',
+ type : 'boolean',
+ value : true,
+ description : 'Enable Opus codec for CD-DA emulation')
+
+option('use_png',
+ type : 'boolean',
+ value : true,
+ description : 'Enable saving screenshots in .png format')