mirror of
https://github.com/mkxp-z/mkxp-z.git
synced 2025-04-21 21:52:04 +02:00
Include fluidsynth with windows build setup
This commit is contained in:
parent
1bc05a9b62
commit
9a65dca14e
2 changed files with 16 additions and 2 deletions
|
@ -8,7 +8,7 @@ option('macos_min_version', type: 'string', value: '', description: 'Minimum mac
|
|||
option('force32', type: 'boolean', value: false, description: 'Force compiler to build a 32-bit executable')
|
||||
|
||||
option('cxx11_experimental', type: 'boolean', value: false, description: 'Toggles between using ghc/filesystem or C++11 <experimental/filesystem>')
|
||||
option('shared_fluid', type: 'boolean', value: false, description: 'Dynamically link fluidsynth at build time')
|
||||
option('shared_fluid', type: 'boolean', value: true, description: 'Dynamically link fluidsynth at build time')
|
||||
option('cjk_fallback_font', type: 'boolean', value: false, description: 'Use WenQuanYi Micro Hei as the fallback font')
|
||||
option('use_miniffi', type: 'boolean', value: true, description: 'Enable MiniFFI Ruby module (Win32API)')
|
||||
option('easypoke', type: 'boolean', value: false, description: '"Fix" any incompatibilities with Pkmn Essentials.')
|
||||
|
|
|
@ -231,6 +231,20 @@ $(DOWNLOADS)/openal/cmakebuild/Makefile: $(DOWNLOADS)/openal/CMakeLists.txt
|
|||
$(DOWNLOADS)/openal/CMakeLists.txt:
|
||||
$(CLONE) $(GITLAB)/mkxp-z/openal-soft $(DOWNLOADS)/openal
|
||||
|
||||
# FluidSynth
|
||||
fluidsynth: init_dirs $(LIBDIR)/libfluidsynth.a
|
||||
|
||||
$(LIBDIR)/libfluidsynth.a: $(DOWNLOADS)/fluidsynth/cmakebuild/Makefile
|
||||
cd $(DOWNLOADS)/fluidsynth/cmakebuild; \
|
||||
make -j$(NPROC); make install
|
||||
|
||||
$(DOWNLOADS)/fluidsynth/cmakebuild/Makefile: $(DOWNLOADS)/fluidsynth/CMakeLists.txt
|
||||
cd $(DOWNLOADS)/fluidsynth; mkdir cmakebuild; cd cmakebuild; \
|
||||
$(CMAKE) -DBUILD_SHARED_LIBS=no -Denable-sdl2=no -Denable-readline=no
|
||||
|
||||
$(DOWNLOADS)/fluidsynth/CMakeLists.txt:
|
||||
$(CLONE) $(GITLAB)/mkxp-z/fluidsynth-sans-glib $(DOWNLOADS)/fluidsynth
|
||||
|
||||
# OpenSSL
|
||||
openssl: init_dirs $(LIBDIR)/libssl.a
|
||||
$(LIBDIR)/libssl.a: $(DOWNLOADS)/openssl/Makefile
|
||||
|
@ -274,6 +288,6 @@ powerwash: clean-downloads
|
|||
clean-downloads:
|
||||
-rm -rf downloads
|
||||
|
||||
deps-core: libvorbis pixman libpng libjpeg physfs sdl2 sdl2image sdl2ttf openal openssl
|
||||
deps-core: libvorbis pixman libpng libjpeg physfs sdl2 sdl2image sdl2ttf openal openssl fluidsynth
|
||||
everything: deps-core ruby
|
||||
legacy: deps-core legacy-ruby
|
||||
|
|
Loading…
Add table
Reference in a new issue