mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-21 01:05:59 +00:00
CREATE_PROJECT: Support building with FluidLite
This commit is contained in:
parent
c38e3bdc2a
commit
3b43a99fda
@ -312,6 +312,11 @@ int main(int argc, char *argv[]) {
|
||||
setFeatureBuildState("vorbis", setup.features, false);
|
||||
}
|
||||
|
||||
// HACK: Fluidsynth and Fluidlite can not be enabled simultaneously
|
||||
if (getFeatureBuildState("fluidsynth", setup.features)) {
|
||||
setFeatureBuildState("fluidlite", setup.features, false);
|
||||
}
|
||||
|
||||
// HACK: These features depend on OpenGL
|
||||
if (!getFeatureBuildState("opengl", setup.features)) {
|
||||
setFeatureBuildState("opengl_game", setup.features, false);
|
||||
@ -1050,6 +1055,7 @@ const Feature s_features[] = {
|
||||
{ "freetype", "USE_FREETYPE2", true, true, "FreeType support" },
|
||||
{ "jpeg", "USE_JPEG", true, true, "libjpeg support" },
|
||||
{"fluidsynth", "USE_FLUIDSYNTH", true, true, "FluidSynth support" },
|
||||
{ "fluidlite", "USE_FLUIDLITE", true, false, "FluidLite support" },
|
||||
{ "libcurl", "USE_LIBCURL", true, true, "libcurl support" },
|
||||
{ "sdlnet", "USE_SDL_NET", true, true, "SDL_net support" },
|
||||
{ "discord", "USE_DISCORD", true, false, "Discord support" },
|
||||
|
@ -71,6 +71,7 @@ std::string MSVCProvider::getLibraryFromFeature(const char *feature, const Build
|
||||
{ "freetype", "freetype.lib", "freetyped.lib", 0, 0 },
|
||||
{ "jpeg", "jpeg.lib", "jpegd.lib", 0, "jpeg-static.lib" },
|
||||
{"fluidsynth", "fluidsynth.lib", 0, 0, "libfluidsynth.lib" },
|
||||
{ "fluidlite", "fluidlite.lib", 0, 0, 0 },
|
||||
{ "libcurl", "libcurl.lib", "libcurl-d.lib", "ws2_32.lib wldap32.lib crypt32.lib normaliz.lib", 0 },
|
||||
{ "sdlnet", "SDL_net.lib", 0, "iphlpapi.lib", 0 },
|
||||
{ "sdl2net", "SDL2_net.lib", 0, "iphlpapi.lib", "SDL_net.lib" },
|
||||
|
@ -465,6 +465,9 @@ void XcodeProvider::setupFrameworksBuildPhase(const BuildSetup &setup) {
|
||||
DEF_LOCALLIB_STATIC("libglib-2.0");
|
||||
DEF_SYSTBD("libffi");
|
||||
}
|
||||
if (CONTAINS_DEFINE(setup.defines, "USE_FLUIDLITE")) {
|
||||
DEF_LOCALLIB_STATIC("libfluidlite");
|
||||
}
|
||||
if (CONTAINS_DEFINE(setup.defines, "USE_FREETYPE2")) {
|
||||
DEF_LOCALLIB_STATIC("libfreetype");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user