Tim Angus
c891c337cb
Handle case where ioq3 is present as a git submodule
2025-10-18 13:01:20 +01:00
Tim Angus
04365b08a2
Use CMAKE_DL_LIBS
2025-10-18 12:21:28 +01:00
Tim Angus
7871d59030
Fix OpenBSD build
2025-10-17 21:23:02 +01:00
Tim Angus
f63b5cf8b4
When arch detection fails, show the compiler output
2025-10-12 12:25:06 +01:00
Tim Angus
c2051b8222
Don't set USE_ICON on macOS; the icon is derived from the bundle
2025-10-07 15:26:04 +01:00
Tim Angus
ed080d3a79
(Optionally) put the build products in a subdir, in the dmg
2025-10-07 12:25:29 +01:00
Tim Angus
c37d868016
Change CONTACT_EMAIL to something more real
2025-09-26 20:36:31 +01:00
Tim Angus
d02a5ff57f
Improve dmg cosmetics
2025-09-26 17:21:07 +01:00
Tim Angus
09bc7746fb
Code sign on macOS
2025-09-25 10:48:38 +01:00
Tim Angus
de76c8feea
Do post configure function(s) more generically
2025-09-18 14:25:52 +01:00
Justin Luong
5f713ab920
Fix emscripten preload file not working for a symlinked directory
2025-09-15 16:14:10 +01:00
Tim Angus
b2a92847e6
Basic standalone Debian package
2025-09-12 21:36:13 +01:00
Tim Angus
4fccc43576
Basic macOS dmg generation
2025-09-12 21:36:13 +01:00
Tim Angus
53ca8b0565
Basic Windows NSIS installer
2025-09-12 21:36:06 +01:00
Tim Angus
f41496b399
Set CMAKE_INSTALL_PREFIX default more correctly
2025-09-12 20:46:13 +01:00
Tim Angus
b7d26a46f6
Remove pointless conditional
2025-09-11 21:22:42 +01:00
Tim Angus
f60d07bb55
Fold install(...) calls into set_output_dirs
2025-09-11 21:22:42 +01:00
Tim Angus
3d8979f769
Add -Wshadow to compiler warnings
2025-09-08 21:22:31 +01:00
Tim Angus
f976711fb4
Fix various warnings
2025-09-07 17:03:20 +01:00
Tim Angus
549b686e22
Fix warnings not being disabled for zlib
2025-09-07 16:39:51 +01:00
Tim Angus
c94a57ca0d
Add q3rcc and q3cpp to dependency chain
2025-09-07 16:39:51 +01:00
Justin Luong
6d90d74022
Fixes to emscripten cmake
2025-09-07 16:39:09 +01:00
Tim Angus
0e53cfde93
Fix QVM tool dependencies on Windows
2025-08-30 19:25:45 +01:00
Tim Angus
8dfedc60c1
Remove architecture from binary filenames
2025-08-29 21:30:17 +01:00
Tim Angus
3ddae18a5d
Add missing INCLUDE_DIRS/DEFINITIONS for Opus and Vorbis
2025-08-25 16:17:23 +01:00
Tim Angus
847cc42c4d
Simplify find_include_dirs
2025-08-25 16:17:23 +01:00
yumirak
bc8d04bb1f
cmake: define USE_CODEC regardless of USE_INTERNAL
2025-08-25 15:29:43 +01:00
Simon McVittie
dc00968bc1
client: Remove i386 GNU assembler version of S_WriteLinearBlastStereo16()
...
This was the last remaining GNU assembler code that was in its own
independent source file, as opposed to being embedded in C code with
GNU `__asm__ volatile` or MSVC `__asm` (which tends to be much easier
to deal with in a modern build system).
When the Quake 3 engine was originally written, this might have been
an "expensive" function when written in portable C, but after 25 years
of CPU development it's less likely to matter (and modern compilers
might produce faster results from the C code anyway).
Resolves: https://github.com/ioquake/ioq3/issues/778
Signed-off-by: Simon McVittie <smcv@debian.org>
2025-08-23 21:23:03 +01:00
Simon McVittie
9f0280bca1
Remove unused matha.S
...
Before commit a7d33b1c "(bug #3639 ) BoxOnPlaneSide rewrite" there
was more code here, but since then the only thing left is the
Invert24To16 function, to which I couldn't find any references since
the beginning of ioquake3's git history.
Resolves: https://github.com/ioquake/ioq3/issues/774
Signed-off-by: Simon McVittie <smcv@debian.org>
2025-08-23 21:23:03 +01:00
Simon McVittie
88918579a3
cmake: Only link snd_mixa into the client, not the dedicated server
...
On i386 it references symbols from other client-only sound code.
Resolves: https://github.com/ioquake/ioq3/issues/770
Signed-off-by: Simon McVittie <smcv@debian.org>
2025-08-22 21:32:56 +01:00
Tim Angus
9d2227cf5c
Add -fvisibility=hidden to GCC/Clang compiler flags
2025-08-22 18:46:21 +01:00
Tim Angus
3aee97dfab
Fix GCC x86 build
2025-08-22 18:38:46 +01:00
Simon McVittie
de6e8747ab
cmake: Don't override CMAKE_INSTALL_PREFIX if set by user
...
The README says that it can be changed, but it was hard-coded here.
Signed-off-by: Simon McVittie <smcv@debian.org>
2025-08-20 21:32:48 +01:00
smallmodel
b297c596e9
Add Windows ARM platform
2025-08-19 11:00:27 +01:00
Tim Angus
23b1f6a3bd
Add -fno-string-aliasing (issue #760 )
2025-08-19 10:48:13 +01:00
Tim Angus
2ec1bbd144
Enquote WINDOWS_ICON_PATH
2025-08-14 12:41:27 +01:00
Tim Angus
dcbbf2c806
Enable ASM language as required
2025-08-13 15:37:23 +01:00
Tim Angus
bbf549cc69
CMake install configuration
...
This is 99% for *nix based operating systems; it may work elsewhere but
it's not recommended.
2025-08-13 15:37:23 +01:00
Tim Angus
8ca7b94f7f
Improve QVM tools dependencies
2025-08-13 13:06:14 +01:00
Tim Angus
271fa26ab4
Add guards preventing various illogical combinations of BUILD_* options
2025-08-13 10:14:30 +01:00
Tim Angus
f03a012087
Document reasons for contents of COMMON_LIBRARIES
2025-08-12 11:44:59 +01:00
Tim Angus
a14b32e83d
Unconditionally rebuild QVM tools every time
2025-08-10 11:01:35 +01:00
Tim Angus
4b1086651d
Fix missing USE_INTERNAL_SDL_HEADERS definitions
2025-08-09 09:48:32 +01:00
Tim Angus
2383bd1351
Add CMake USE_INTERNAL_SDL option, defaulting to ON
2025-08-09 02:35:51 +01:00
smallmodel
f848f8ad8d
Fix typo when trying to include curl directories
2025-08-08 10:37:37 +01:00
Tim Angus
12dcaf3470
Link game modules to COMMON_LIBRARIES
2025-08-07 16:30:49 +01:00
smallmodel
074c0ecc4a
Detect architecture from the compiler instead of the host
2025-08-07 15:10:25 +01:00
Tim Angus
404aa1bdb2
Just build all (now guarded) architecture specific vm_*
2025-08-07 15:10:25 +01:00
Tim Angus
0912659484
Move responsibility for defining NO_VM_COMPILED from build system to q_platform.h
2025-08-07 15:10:24 +01:00
Tim Angus
2c91b38899
Simplify VM sources for old architectures
2025-08-07 15:10:24 +01:00