Alam Ed Arias
1e61ab3472
Merge branch 'next' into stringop
2024-03-01 15:50:57 -05:00
Alam Ed Arias
a9ef21aa50
Clang: clean up conditional-uninitialized warnings
2024-03-01 19:35:04 +00:00
Alam Ed Arias
a0c27b22c3
Merge branch 'next' into stringop
2024-02-28 13:14:11 -05:00
Logan Aerl Arias
235afdff72
disable libgme by default
2024-02-24 19:37:38 -05:00
Alam Ed Arias
703ee972e6
Clean up stringop-truncation warnings
2024-02-20 16:30:15 -05:00
Alam Ed Arias
53d74e7f89
Clean up stringop-overflow=4 warnings
2024-02-20 13:17:50 -05:00
Alam Ed Arias
9c5d470bef
Merge branch 'master' into next
2024-02-19 18:07:54 -05:00
SteelT
a9a1a4bf65
Fix FreeBSD memory reporting if built with cmake
2024-02-14 02:59:26 -05:00
Lactozilla
6180ddde32
Fix slope plane distortion
2024-01-29 22:08:22 -03:00
Lactozilla
b6e4771085
Merge branch 'next' into translations
2024-01-02 22:06:14 -03:00
Alam Ed Arias
933a96013d
Merge branch 'master' into next
2023-12-26 17:50:21 -05:00
Alam Ed Arias
5d7ee3974f
Build: error on array bounds
2023-12-26 17:49:34 -05:00
Logan-A
8374a1628c
added NOEXECINFO to cMake
...
added NOEXECINFO to cMake
2023-12-25 19:52:32 -05:00
Logan Aerl Arias
2cf26236df
Merge branch 'use-fwrapv-gcc-flag' into 'next'
...
Pass -fwrapv to GCC compilation flags
See merge request STJr/SRB2!2195
2023-12-25 23:59:30 +00:00
Lactozilla
5f21befb09
Merge branch 'next' into translations
2023-11-30 18:54:36 -03:00
Gustaf Alhäll
80475adabf
Always apply -fwrapv on builds
2023-11-04 11:48:20 +01:00
Gustaf Alhäll
6d650728f6
Update CMake and XCode build systems
2023-11-02 21:58:36 +01:00
Lactozilla
9dbf30e20d
Refactor tokenizer
2023-10-30 14:54:32 -03:00
Lactozilla
4f873d5f8f
WIP ZDoom translations
2023-10-29 20:33:49 -03:00
Alam Ed Arias
dea519637a
Merge branch 'next' into lua-extracolormap
2023-10-23 14:49:44 -04:00
Zwip-Zwap Zapony
cfedee9dc9
Fix CMake compiling
2023-09-19 18:46:05 +02:00
Lactozilla
4ea2887d7f
Lua colorlib: extracolormap support
2023-08-04 00:31:51 -03:00
Sal
26583a9845
Ring Racers CMake + Debug build improvements
2023-08-01 02:29:45 +00:00
katsy
7634a96031
delete ASM code, remove NASM
2023-07-27 23:58:53 -05:00
James R
7261db1eee
cmake: fix -DSRB2_CONFIG_ENABLE_TESTS=OFF build
2023-07-26 14:16:15 -04:00
Sal
7eff445d1f
Merge branch 'cmake-clang-tidy' into 'next'
...
cmake: Add optional clang-tidy integration
See merge request STJr/SRB2!1849
2023-07-26 11:59:02 +00:00
Eidolon
101cdea022
cmake: Add optional clang-tidy integration
...
clang-tidy performs static analysis over the compilation unit,
producing more comprehensive compile warnings than are normally
generated by the compiler. For example, it will trace branches in a
function to find the exact conditions in which a null dereference
can occur.
Note that this produces an absurd amount of warnings for our existing
C code, and significantly slows compile times. It is pretty effective
at its job though. I think it would be good to turn on by default for
upcoming C++ code.
2023-07-26 07:58:31 -04:00
Eidolon
2a8dbed336
Redefine boolean for C++ compatibility
2023-07-26 07:56:22 -04:00
Eidolon
0abe556197
cmake: Enable C++ 17 and C11
2023-07-26 07:55:26 -04:00
Eidolon
707860815b
Merge GitHub PR #514 into next
...
fix ARM builds being completely broken
Conditionally adds -mno-ms-bitfields based on architecture, as this is
only relevant on Intel architectures.
https://github.com/STJr/SRB2/pull/514
2023-02-08 21:15:04 -06:00
cobalt2727
4f8d2fcdc8
fix ARM builds being completely broken
...
If merged, this is the quickest approach to resolve https://github.com/STJr/SRB2/issues/513
...alternatively, we could just remove the option altogether but I don't have the time right now to test whether it's needed or not
To the best of my knowledge, this covers all possible amd64 `CMAKE_SYSTEM_PROCESSOR` values based on what I'm seeing at https://stackoverflow.com/questions/70475665/what-are-the-possible-values-of-cmake-system-processor
2023-02-08 14:46:09 -05:00
Alam Arias
1b5dd687d2
Cleanup whitespace changes from master branch
2022-11-11 20:31:41 -05:00
Eidolon
3597957af1
Merge branch 'cmake-zlib-internalized' into 'next'
...
cmake: build zlib manually in internal build
See merge request STJr/SRB2!1856
2022-11-09 02:30:35 +00:00
Eidolon
4037d04994
cmake: copy build shared internal libs to bin/
2022-11-08 19:21:21 -06:00
Eidolon
64e063d4dc
cmake: Port misc options from Makefiles
...
- DEBUGMODE
- MOBJCONSISTANCY
- PACKETDROP
- ZDEBUG
- PROFILEMODE (likely moot, dunno how profiling with cmake works
though)
2022-11-06 14:03:02 -06:00
Eidolon
106d115c3e
cmake: Port warning configuration from make
...
Adds SRB2_CONFIG_ERRORMODE to replace ERRORMODE too.
2022-11-06 10:11:51 -06:00
Eidolon
ce5c41d7eb
Merge branch 'the-one-cmake' into 'next'
...
Overhaul cmake build
See merge request STJr/SRB2!1832
(cherry picked from commit 4337205fa8
)
# Conflicts:
# src/sdl/CMakeLists.txt
2022-11-05 03:09:38 -05:00
Eidolon
a015be2a54
cmake: Build all deps and static link
2022-11-05 00:12:09 -05:00
Eidolon
9277870fa2
Merge branch 'cmake-develop-flag' into 'next'
...
cmake: Add SRB2_CONFIG_DEV_BUILD
See merge request STJr/SRB2!1837
(cherry picked from commit 896a7609a7
)
518cb0b3
cmake: Add SRB2_CONFIG_DEV_BUILD
2022-11-04 23:11:49 -04:00
Eidolon
518cb0b3fd
cmake: Add SRB2_CONFIG_DEV_BUILD
2022-10-24 18:39:52 -05:00
SteelT
71f905f95b
Fix gme support being effectively disabled
...
I found this easier than trying to adjust the makefile, as it uses the same thing to automatically generate the various NO* compile options.
2021-07-16 15:26:09 -04:00
James R
58fa44e8dc
CMP0115
2021-07-12 03:50:44 -07:00
James R
c325306ddf
Merge remote-tracking branch 'origin/master' into makefile-revision-final
2021-06-07 18:36:01 -07:00
James R
210c9419e4
Ignore -Wtrigraphs
2021-05-08 16:49:18 -07:00
James R
87afa7655a
CMake: fix ASM compile
...
- target_sources from correct directory
- enable_language must be used in add_executable directory
2021-05-07 18:59:51 -07:00
James R
f9813844e7
Update CMakeLists.txt to use Sourcefiles
...
This establishes (near) parity of source code file lists
between the Makefile and CMakeLists.txt
To make that change I messed around CMakeLists.txt a bit.
It now uses target_sources and target_compile_definitions.
I also removed some MSVC stuff since we don't actually
care about MSVC--it made things easier.
CMake minimum version 3.0 -> 3.13 for target_sources.
2021-05-05 04:00:44 -07:00
James R
621efbfa15
Lua taglib for accessing taggroups
...
The global "tags" can be iterated upon for every unique tag which is set in the
level. If a tag is set on a sector/line/thing, it will be included. Taking the
length of "tags" will give you the number of these unique tags. (If a tag is
set on multiple sectors/lines/things, it will only be counted once though.)
For sectors, lines and mapthings, call the field "tagged". This function takes
one argument, which is the tag. The return value can be iterated over for all
the sectors/lines/things with that tag. The length can also be taken for the
number of such objects. If no argument is given, the global tag is default.
2020-12-04 00:30:08 -08:00
GoldenTails
8fef61aa29
Split dehacked.c into multiple files.
2020-11-23 21:42:26 -06:00
Jaime Ita Passos
5e890ee6f8
Merge branch 'next' into spritestuff2
2020-11-19 00:52:43 -03:00
Nev3r
fb9432ae57
Merge branch 'next' of https://git.do.srb2.org/STJr/SRB2 into udmf-multitag
2020-11-10 11:46:53 +01:00