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
Tim Angus
93fd9f7d47
Use the correct file name for the ARM VM
2025-08-07 12:57:41 +01:00
Tim Angus
1df2825cf1
Add missing USE_ICON to RENDERER_DEFINITIONS
2025-08-04 21:45:01 +01:00
Tim Angus
2e200c84b1
Can't forget the sparc VM!
2025-08-04 14:44:05 +01:00
Tim Angus
4c6f3f81eb
CMake build system
2025-08-03 17:36:01 +01:00