Commit Graph
247 Commits
Author SHA1 Message Date
elasota b24d281748 CREATE_PROJECT: Add --libs-path command line parameter that can be used in place of setting the SCUMMVM_LIBS environment var 2023-05-14 23:04:04 +03:00
SupSuper e396d34320 CREATE_PROJECT: Remove deprecated --use-canonical-lib-names
It's always the default
2023-04-29 13:16:08 +02:00
SupSuper d71a717b87 CREATE_PROJECT: Add --vcpkg option to MSVC generation 2023-04-29 13:16:08 +02:00
Einar Johan Trøan Sømåen 0c4190679f BUILD: Add support for flagging opengl_game_classic as an engine dep. 2023-04-29 13:01:08 +02:00
elasota 36be0befad CREATE_PROJECT: Exclude MT32Emu source files if the feature is disabled. 2023-04-29 12:15:50 +02:00
Walter Agazzi a6fa65e87a CREATE_PROJECT: Add option to use XCFramework in iOS, tvOS and macOS
The introduction of Apple M1 processor, which is based on the arm64
architecture, makes it impossible to use fat static libraries for iOS
and tvOS since building libraries for the simulators targeting the
arm64 architecture conflicts with the iOS and tvOS native arm64
libraries. It's not possible to have two arm64 libraries targeting
different platforms in the same fat library.

Apple resolves this problem with XCFrameworks. Each XCFramework
contain an Info.plist specifying which platforms and architectures it
targets.

The new iOS and tvOS library package, scummvm-ios7-libs-v3, utilize
the XCFramework format and includes pre-compiled libraries for both
iOS and tvOS with corresponding simulator.

Add the option to use XCFramework in create_project by passing the
switch '--use-xcframework'

Implement support to use XCFrameworks for iOS, tvOS and macOS. If not
passing '--use-xcframework' to create_project, legacy behaviour is
applied.

This commit also add support for mikmod for tvOS.
2023-04-24 22:34:55 +02:00
Donovan Watteau db9f13d475 CREATE_PROJECT: Add libmikmod support 2023-04-10 20:14:22 +02:00
Donovan Watteau 5c2a6c17f2 CONFIGURE: Define USE_SDL2 in the preprocessor when found 2023-03-09 01:30:34 +01:00
Donovan Watteau 37e3146f49 JANITORIAL: CREATE_PROJECT: Fix a small typo 2023-03-07 13:52:18 +01:00
Little Cat c16244a23a BACKENDS: ENET: Compile stable 1.3.17 source. 2023-03-06 00:07:13 +01:00
Little Cat 1a50e10a83 BACKENDS: ENET: Now compiles and works on MSVC. 2023-03-06 00:07:13 +01:00
Eugene Sandulenko 10dda78ecc DISTS: Include MKV license in distribution packages 2023-03-05 21:47:13 +01:00
Eugene Sandulenko 53163f427a DEVTOOLS: Added libvpx support to create_project 2023-03-05 21:29:03 +01:00
elasota 843776dd85 DEVTOOLS: Promote numerous VS warnings to errors.
Changes the following warnings to errors:
C4701: potential use of uninitialized local variable
C4703: potential use of uninitialized local pointer
C4456: declaration hides previous local declaration
C4003: not enough arguments for function-like macro invocation
C4840: use of non-trivial class as an argument to a variadic function
C4805: unsafe mix of bool and int in a numeric operation or comparison
C4305: truncation of double to float or int to bool
C4366: address taken of unaligned field and used as an aligned pointer
C4315: object constructed into an unaligned field with a constructor that expects it to be aligned
2022-12-25 16:31:57 +01:00
Cameron Cawley fd123d6679 COMMON: Split compression and formats into separate modules 2022-12-11 22:33:23 +01:00
Cameron Cawley ed9c052d57 COMMON: Split Lua into a separate module 2022-11-16 22:45:26 +02:00
SupSuper 601d9dc7d4 CREATE_PROJECT: Warning flag -Wall already includes -Wimplicit 2022-04-25 06:59:13 +01:00
SupSuper 18ebbdcf99 CREATE_PROJECT: Don't add GCC warnings to MSVC CMake 2022-04-25 06:46:28 +01:00
NMIError 221fa4c841 AUDIO: Add support for RetroWave OPL3
This commit adds support for the SudoMaker RetroWave OPL3 sound card. Requires
the retrowave library.

Add the following settings to scummvm.ini:
retrowaveopl3_bus=serial
retrowaveopl3_port=<port> f.e. COM3 or ttyACM0
2022-01-29 17:33:29 +01:00
Le Philousophe 04b1ce5a6e CREATE_PROJECT: Make OpenGL features consistent with configure 2022-01-18 16:49:03 +01:00
Orgad Shaneh 7998025b98 CREATE_PROJECT: Centralize toUpper 2022-01-18 09:24:29 +02:00
Orgad Shaneh aa24872dc6 CREATE_PROJECT: Accept std::ostream in writeFileListToProject 2022-01-14 12:53:21 +02:00
Le Philousophe 52dcac9fc6 CREATE_PROJECT: Fix theoradec feature name
This is needed by sword25
2022-01-09 17:28:17 +01:00
Le Philousophe 0011ad97cb CREATE_PROJECT: Add a warning when the feature is not found 2022-01-09 17:28:17 +01:00
Henrik "Henke37" Andersson 8119ae19c0 CREATE_PROJECT: Fix feature name for freetype
The name was inconsistent with the main build system
2022-01-09 18:27:24 +02:00
Henrik "Henke37" Andersson 61e2c5c928 CREATE_PROJECT: Consistent name for zlib
The feature name didn't match with other code.
2022-01-06 22:43:05 +02:00
Paweł Kołodziejski f1812277d2 DEVTOOLS: Enable mpeg2 by default 2022-01-01 13:38:06 +01:00
Cameron Cawley 21b0d6ded1 BACKENDS: Replace GLEW with GLAD, part of PR #3463 2021-12-30 14:53:48 +01:00
Eugene Sandulenko d79b75dce5 DOCS: Moved all non-main licenses to LICENSES/ directory. Synced all lists
I could potentially break some port packaging as my changes were not tested
2021-12-27 14:58:23 +01:00
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Orgad Shaneh 62797daf3c DEVTOOLS: Use nullptr
Using clang-tidy modernize-use-nullptr
2021-11-14 15:51:59 +02:00
SupSuper f4c904d2d2 CREATE_PROJECT: Add Visual Studio 2022 support
Because I know someone's gonna ask me about it :P
2021-11-10 05:49:03 +00:00
sluicebox 76778e100f CREATE_PROJECT: Remove VS2008 project generator
Now that C++11 is mandatory we can retire our old friend
2021-11-07 11:36:49 +02:00
sluicebox 16bf767de3 CREATE_PROJECT: Add --include-dir and --library-dir
Additional include and library directories can now be added.

This is most useful to Xcode Mac projects where a vanilla Homebrew setup
requires manually adding five directories through the Xcode UI and then
repeating that every time the project needs to be regenerated.

Now create_project can be scripted to regenerate a working Mac project
without any extra Xcode steps.
2021-11-06 19:08:06 -05:00
sluicebox 4025901ab1 CREATE_PROJECT: Add DETECTION_FULL feature
Allows disabling full detection with --disable-detection-full,
just like the configure script.
2021-11-01 21:34:55 +01:00
Eugene Sandulenko 886a8c43a1 CREATE_PROJECT: Drop cxx11 feature 2021-10-31 11:45:08 +02:00
Orgad Shaneh 0b2ae9fa5e DEVTOOLS: Replace ugly SDL/MinGW hack with a cleaner hack
Instead of having main=SDL_main defined by pkg-config/sdl2-config --cflags
and undefining it everywhere, strip it in its origin.
2021-08-03 07:35:15 +03:00
Orgad Shaneh 99773ee204 DEVTOOLS: Fix create_project compilation on Windows with UNICODE defined 2021-08-02 17:47:29 +02:00
sluicebox f0fd086948 CREATE_PROJECT: Fix enabling fluidlite 2021-07-24 22:02:38 +01:00
sluicebox 2bca5da803 WIN32: Make UNICODE the default build configuration 2021-07-14 18:41:02 -05:00
sluicebox 41ab2c799b CREATE_PROJECT: Fix warning when building on Mac 2021-06-30 22:50:09 -05:00
sluicebox 1f253b805c CREATE_PROJECT: Add --use-windows-unicode 2021-06-29 12:38:01 -05:00
SupSuper 3b43a99fda CREATE_PROJECT: Support building with FluidLite 2021-04-25 20:39:55 +03:00
Eugene Sandulenko 5e7fe2dc57 JANITORIAL: Replace spaces in indentation with tabs 2021-04-15 21:20:36 +02:00
Martin Gerhardy bb34721dd4 IMAGE: added GIFDecoder using libgif 2021-04-10 10:59:09 +02:00
SupSuper 30b06ae9de CREATE_PROJECT: Add new scaler feature flags 2021-03-15 20:52:05 +00:00
sluicebox 93eeffc84d JANITORIAL: Update old bug tracker numbers 2021-03-03 02:15:05 +02:00
SupSuper 73755d1d3a CREATE_PROJECT: Fix infinite loop when generating tests 2021-02-22 12:22:47 +00:00
SupSuper eeda14b170 CREATE_PROJECT: Fix incorrect text filenames 2021-02-22 12:18:45 +00:00
SupSuper 9401ef1a82 CREATE_PROJECT: Don't include detection in tests/tools 2021-02-22 12:10:11 +00:00