adam
d4f9485f90
Modern C++.
...
Frankly I don't care to try to support a wide variety of
"older" stuff. I don't have the time, and I don't think
it's sensible to promote being able to play the
modified form of this game (using my dynamic system) on
toasters and coffee makers. Most systems with the capacity
to handle what I'll wind up demanding will probably
support C++23 already.
2024-04-28 02:00:31 -04:00
adam
3918c56a15
To use full C++ we have to have its compiler as the linker.
2024-04-24 19:39:37 -04:00
adam
32a1344643
Since I intend to move to C++... let's get that started right now.
2024-04-24 09:58:35 -04:00
Michael Martin
102099e8f0
Fix typo in installsome()
2021-11-01 20:07:13 -07:00
Michael Martin
f39a37ff2f
Fix icon on Windows with MinGW/MSYS2 builds, from Ala-lala
2020-06-08 16:09:05 -07:00
Michael Martin
1e687b9392
Merge commit '7326ff096d0fc60086f2' into v0.8.0
2020-04-04 17:52:44 -07:00
Michael Martin
aaed1e50e9
Fix Linux build; regcomp plays poorly with symbol detection for some reason
2020-04-04 15:59:42 -07:00
Michael Martin
8823c4be44
Fix MinGW build; check for whether we must explicitly link -lregex
2020-04-04 15:33:06 -07:00
Michael Martin
562917b456
Merge post-0.7.0 commits through 'c8250d8b8' into v0.7.2.
...
sdl_common.c has lost some commits in the restructuring and those
will need to be replayed over the restructured files for SDL1 and 2.
2020-04-03 17:43:49 -07:00
Michael Martin
fdb1a92d5d
Use frameworks for libpng and Vorbis if requested and available
2019-11-16 23:29:56 -08:00
Michael Martin
2ad10b9906
Use frameworks for SDL if requested and available
2019-11-16 22:15:14 -08:00
Michael Martin
d6c5e6556f
Create a test to probe for frameworks in a user-supplied dependency dir
2019-11-16 21:27:05 -08:00
Michael Martin
252fffb993
Allow parallel make when the -j option is passed to build.sh.
...
Based on a patch to the UQM Mega-Mod by Ala-lala.
2019-10-27 15:01:33 -07:00
Michael Martin
538e8e4eab
Refine graphics detection and default seelection on config
2019-10-19 14:56:58 -07:00
Michael Martin
6c7a4e35e6
Fix check for whether we need -lm. Restore Ubuntu build.
2019-10-02 02:03:03 -07:00
Michael Martin
f973106448
SDL2 build for macOS under brew
2019-09-08 23:15:12 -07:00
Michael Martin
b724f372dd
Enhance config script to allow selecting SDL1 or 2 backends
2019-08-16 00:51:23 -07:00
Michael Martin
f36a9339fc
Remove unnecessary library checks
2019-08-12 22:29:45 -07:00
Michael Martin
fa32c80258
Simplify macOS build system to work with brew.
...
Standalone framework-based builds will be reintroduced before the
v0.7.1 release.
2019-08-10 15:43:48 -07:00
Michael Martin
4a320504df
Remove i386 architecture from Mac output
2019-08-10 15:43:48 -07:00
Michael Martin
3e6f9cf5b1
Remove SDL_image and link against libpng directly
2019-08-10 13:34:16 -07:00
Michael Martin
29ed467363
Alter build flags on Mac to find dependent frameworks in /Library/Frameworks
2018-05-05 21:26:34 -07:00
Michael Martin
e6a0038646
Adjust library requirement for modern gcc
2018-01-12 20:04:24 -08:00
Serge van den Boom
f9d27fbbe6
Use internal libmikmod by default.
2013-10-23 21:51:13 +02:00
Mika Kolehmainen
6c6bb6b100
OS X: Compiles now with Xcode 5. SDLMain updated to SDL 1.2.15, fixes input when running binary directly.
2013-10-10 00:52:53 +03:00
Meep-Eep
ca5ead9d65
--unix_depend_format was there before after all. Putting it back.
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3748 8092fc87-c524-0410-9efc-e669fe64eaf9
2012-01-15 20:37:31 +00:00
Meep-Eep
fc18eebd15
Add C++ support to the build system, from Scott A. Colcord.
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3747 8092fc87-c524-0410-9efc-e669fe64eaf9
2012-01-15 20:01:20 +00:00
avolkov
bb33e30b79
Update the scripts for cross-building on Cygwin to Mingw with gcc 4 (-mno-cygwin is now gone)
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3690 8092fc87-c524-0410-9efc-e669fe64eaf9
2011-09-07 06:17:23 +00:00
avolkov
6f6c5c0788
Add -O0 to strict debug build type to match others
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3689 8092fc87-c524-0410-9efc-e669fe64eaf9
2011-09-07 01:01:12 +00:00
avolkov
b28d379c73
Added -Wdeclaration-after-statement to strict warnings build; removed -O1 not needed for gcc 4; from Scott A. Colcord
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3687 8092fc87-c524-0410-9efc-e669fe64eaf9
2011-09-06 21:20:40 +00:00
avolkov
51d3291671
Remove 'uqm-wrapper' script in 'clean' subtarget; small comment fix; bug #1126
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3661 8092fc87-c524-0410-9efc-e669fe64eaf9
2011-07-23 16:55:21 +00:00
avolkov
e9e336e92c
Actually build a debug exe in strict-debug mode; bug #1127 ; from Scott A. Colcord
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3624 8092fc87-c524-0410-9efc-e669fe64eaf9
2011-06-24 17:38:12 +00:00
Meep-Eep
59449bc7b8
Forgot to commit this one.
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3564 8092fc87-c524-0410-9efc-e669fe64eaf9
2011-02-15 20:30:05 +00:00
Meep-Eep
38e317e75d
Generalise recursing through the source tree.
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3556 8092fc87-c524-0410-9efc-e669fe64eaf9
2011-02-13 18:05:57 +00:00
mcmartin
14d8bdad31
Update content version to 0.7. Update install scripts to match.
...
Strip PPC support from Mac build, since this is no longer a configuration we can test.
Fix some bugs in the build uqm install sequence on Mac.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3553 8092fc87-c524-0410-9efc-e669fe64eaf9
2011-02-13 04:37:18 +00:00
mcmartin
0cf53407d4
Fixes to the build system for Snow Leopard, and for 0.7 content packaging.
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3532 8092fc87-c524-0410-9efc-e669fe64eaf9
2010-03-15 04:39:40 +00:00
Meep-Eep
f19de46363
Fixing the problems caused by the previous commits.
...
Note to self: don't commit in a hurry nor while half-asleep.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3526 8092fc87-c524-0410-9efc-e669fe64eaf9
2010-01-25 22:06:07 +00:00
Meep-Eep
ac0f4b0eef
Getting rid of GFXMODULE_SDL and SNDMODULE_SDL defines, as we don't need
...
them any more.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3524 8092fc87-c524-0410-9efc-e669fe64eaf9
2010-01-25 21:43:40 +00:00
Meep-Eep
df4204b16b
If SDL is not used, just don't compile those files, instead of
...
compiling (after preprocessing) empty files.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3521 8092fc87-c524-0410-9efc-e669fe64eaf9
2010-01-25 21:20:59 +00:00
Meep-Eep
12d6b02bd4
Remove -Winline from builds with strict warnings; we can't do anything about
...
the "inlining failed in call to <...>: call is unlikely and code size would grow" warnings, and they're abscuring legitimate problems.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3508 8092fc87-c524-0410-9efc-e669fe64eaf9
2010-01-23 20:13:26 +00:00
Meep-Eep
0535bb5c11
Define NDEBUG in release build.
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3483 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-12-28 13:33:10 +00:00
avolkov
68ebcaf54e
Don't try using pkgconfig to detect libs on Mac OSX; pkgconfig is not there
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3246 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-10-24 21:53:05 +00:00
Meep-Eep
5036ba075e
Fix SDL, libmikmod, and pthreads detection.
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3242 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-10-24 19:32:36 +00:00
Meep-Eep
241d95d2c1
Cleanups, add have_command.
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3241 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-10-24 19:31:55 +00:00
Meep-Eep
595bf1e5e0
Detection of libmikmod requires detection of libmikmod-config.
...
Same for SDL and pthread.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3240 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-10-24 17:57:14 +00:00
Meep-Eep
005cbd6656
Even more fixes.
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3239 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-10-24 17:56:13 +00:00
Meep-Eep
bb2513fc06
More fixes.
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3238 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-10-24 17:50:49 +00:00
Meep-Eep
4eb191e859
A few corrections.
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3237 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-10-24 17:44:34 +00:00
gewlitys
b43bdf28ba
Set symbian certifigate expiration date to be longer than a year.
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3179 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-08-23 11:11:21 +00:00
Meep-Eep
511a426a6f
Typo.
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3176 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-07-20 18:20:36 +00:00