Commit graph

102 commits

Author SHA1 Message Date
Richard Goedeken
a4dc0d295e
Merge pull request #134 from orbea/sdl
Remove SDL1 support
2024-11-02 21:10:59 -07:00
orbea
3d36c9b9fe build: remove -fno-strict-aliasing
This builds with -Werror=strict-aliasing so it should be not required.
2024-10-28 11:55:49 -07:00
orbea
0eb1743216 build: remove SDL1 support 2024-10-28 11:32:39 -07:00
orbea
aead6d917d build: remove executable permissions from Makefile 2024-10-28 11:31:15 -07:00
Richard Goedeken
9cbdd4d002 update minimum macos SDK in makefile 2024-07-14 12:00:45 -07:00
Jj0YzL5nvJ
ca5f6d82c9 CI/CD: Integrate scheduled builds and other necessary updates 2023-02-14 23:49:49 -06:00
Jj0YzL5nvJ
6ecfd55072 CI/CD: Update MSVC 2022-09-28 02:07:06 -06:00
Jj0YzL5nvJ
23fe417b16 CI/CD: Update 2022-07-10 18:52:22 -06:00
Jj0YzL5nvJ
25871f2ebd CI/CD: Implement GitHub Actions and public nightly builds 2021-12-05 09:00:13 -07:00
orbea
4015a8162a build: Allow out of tree builds. 2020-12-15 10:17:02 +01:00
Richard Goedeken
0d7820e35a Revert "Allow non-default compilers without resorting to symbolic links"
This reverts commit 7c701d8b35, as it conflicts with GNU make which always defines default values for certain variables
2020-09-16 22:39:55 -07:00
Jj0YzL5nvJ
7c701d8b35 Allow non-default compilers without resorting to symbolic links 2020-08-30 03:53:39 -06:00
Jj0YzL5nvJ
dd2612bd05 Allow to set custom platform toolset from commands 2020-08-13 12:06:52 -06:00
Jj0YzL5nvJ
c5daef94f4 Changes to have more generic project files 2020-02-26 12:39:44 +01:00
Gillou68310
01af91dd84 Migrate to VS2017 2019-11-13 17:13:10 +01:00
Richard Goedeken
c50780cfa1 remove backup file 2018-09-22 07:43:13 -07:00
Brigham Henry Keys
7000ee130a Moved CMake project files to the projects/ directory 2018-09-21 02:36:52 -05:00
Anthony J. Bentley
52fd15b4c0 Update homepage. 2018-01-01 17:46:33 +01:00
Anthony J. Bentley
318497be41 Update link to bug tracker. 2018-01-01 17:46:33 +01:00
Logan
4855a9ba29
If DEBUG not set, set NDEBUG 2017-11-30 10:57:49 -07:00
Richard Goedeken
35fdd23231 update Makefile method for finding OSX_SDK_PATH 2017-11-14 16:21:00 -08:00
Bobby Smiles
7d8eea23d8 Revert "Allow using compiler other than gcc"
This reverts commit 2766667e73.
2017-06-24 13:34:37 -06:00
Logan McNaughton
2766667e73 Allow using compiler other than gcc 2017-06-20 21:16:50 -06:00
Brent Woodruff
74202c7cec bump macosx-version-min to 10.6 for SDL2.0.5 2017-03-16 22:50:34 -04:00
Richard Goedeken
0056f904b9 libm is required for some linux distributions, possibly others. Hopefully this wont break the build on any architectures; it's also like this in the core makefile 2016-10-18 20:41:56 -07:00
Richard Goedeken
164472117d change VS2013 project files to build with the XP-compatible vc120 toolset, so the resulting binaries will run on pre-vista machines 2016-07-13 20:04:06 -07:00
Gillou68310
58a56c38b2 Added x64 configuration to VisualStudio2013 project file 2015-08-28 16:26:24 +02:00
Anthony J. Bentley
1580b6819d Remove unnecessary OpenBSD warning. 2015-06-08 01:45:45 -06:00
Conchúr Navid
40124bf0ae Fix executable bits of files 2015-03-21 10:58:11 +01:00
Richard Goedeken
ef4d344062 added project/solution file for Visual Studio 2013. removed older MSVS project files. fix code compatilibity problems with MSVC 2015-02-22 07:13:34 -08:00
Nebuleon Fumika
630e4c7c2f Unix Makefile: Discard unnecessary architecture checks
Unlike the Mupen64Plus Core, which is sensitive to the architecture
it's compiled for due to its just-in-time compilers, this project does
not require architecture-specific glue code, only operating system
checks to load dynamic libraries and the presence of a well-behaving
port of SDL on the platform.

M64P_BIG_ENDIAN is not used for any decisions in this plugin, either.
Delete the big-endian processor checks.
2015-01-26 10:01:34 +00:00
Gillou68310
9d82d61ed3 Added project file for MSVC2010 2015-01-07 15:10:27 +01:00
Richard Goedeken
add0e60ece SDL 1.2 is not deprecated for us, and we shouldnt frighten the user with 6 lines of exclamation points 2014-05-04 11:29:27 -07:00
Ursula Abendroth
0d3e0c3b8f Switch by default to SDL2 for Mupen64Plus 2.1
The current version of SDL is 2.0.3. All new releases of distributions contain
this library already. Current Linux distributions and OpenBSD even backporting
patches from Mupen64Plus 2.1 repo to use SDL 2. Android and other mobile
platform don't have support for legacy SDL 1.2.

People like Anthony J. Bentley and Riley Labrecque already requested
a new release of Mupen64Plus 2.1 with SDL2
2014-04-23 19:32:46 +02:00
Sven Eckelmann
4af586cec6 Force line ending type for specific files
Different operation systems (Unix vs. Windows) use different line ending types.
It can easily happen that users from different systems edit files and replace
all line endings of a file with the system specific version. This screws up
diffs and makes merges harder.

Git can normalize line endings for specific files and avoid this problem.
Binary files should be marked to avoid accidentally normalization.
2013-12-19 14:19:06 +01:00
Sven Eckelmann
917ed484dd Don't fail rebuild when header is removed
The *.d depends files for make just list the files used when building an
object file. Removing a file listed in such a dependency file causes make to
search for a way to recreate it. This usually cannot work because these files
aren't autogenerated.

The gcc option -MP can be used to generate empty rule for these files. Removing
a file in a dependency list will then execute this empty rule and continue with
the execution of the creation of the object file. This compilation process will
then automatically correct the dependency file.
2013-09-20 10:31:41 +02:00
richard42
951e990d00 simplify OSX platform detection in makefile using xcode-select. based on patch from John Pender 2013-07-08 07:24:07 -07:00
Richard Goedeken
03050e918b merged heads 2013-07-04 18:01:41 -07:00
Sven Eckelmann
14ecfc61bd Add CFLAGS -D_GNU_SOURCE to allow usage of strcasestr 2013-06-23 10:35:25 +02:00
Sven Eckelmann
7f379fe044 Use SDL1.2 keysym in the config when using SDL2
It is easier for a user to keep the old SDL1.2 values for the keys in the
config instead of converting them by hand. This is extreme important when the
default (automatic) config is used.
2013-06-22 14:40:18 +02:00
richard42
10cb4e4c04 Update msvc11 project file to visual studio 2012 (msvc11) 2013-06-01 07:56:09 -07:00
Sven Eckelmann
d230fdd1a5 Allow to statically set SDL_(CFLAGS|LIBS) without sdl-config
n.pepinpe requested in #540 to allow overwriting the automatically searched
CFLAGS and LIBS for used libraries. This should allow distributors to set the
build configuration without patching the makefile. This is important for
systems were pkg-config or sdl-config aren't normally used.
2013-05-11 12:26:14 +02:00
Sven Eckelmann
ced3b9cdb6 Enable Link-time optimization by default
The GCC introduced Link-time optimization in GCC 4.5 (2010-04-14). This should
be long enough available that interested users have upgraded to a compiler
supporting it.

The MSVC project already enabled WholeProgramOptimization since a long time.
Enabling it by default in GCC seems to be equally valid.
2013-05-11 11:25:50 +02:00
Sven Eckelmann
6f0c173c68 Add CFLAGS to the linker step
The GCC manual states for different parameters that the options for compilation
must also be used when linking. The options for compilation are stored in
CFLAGS and added to LINK.o to fix the behavior.

Option which need this are for example -fPIC/-fPIE or -flto.
2013-05-11 10:58:16 +02:00
Richard Goedeken
67f2d3b316 add msvc11 project file from mudlord 2013-03-20 22:25:49 -07:00
richard42
47c9b2dd4c OSX build fix 2013-02-02 22:22:22 -08:00
Sven Eckelmann
113a45e0b3 Introduce WARNFLAGS for default (removable) compiler warning flags 2013-01-02 16:13:45 +01:00
Sven Eckelmann
007e65fc66 Disable PIC on MinGW to reduce warnings 2013-01-01 00:30:34 +01:00
n pepinpe
cbe6282ca0 Fix path to OSX SDK with XCode >=4.3 2012-12-31 10:43:00 +01:00
Sven Eckelmann
3a797083e1 Use $(OBJDIR) in clean target instead of hardcoded path 2012-12-13 14:53:05 +01:00