Commit graph

7 commits

Author SHA1 Message Date
cbnolok
28586ef1d2 Fixed MinGW compilation with both Clang and MSVC runtime libs.
Added different macros, instead of using _MSC_VER. This one is added
even when Clang with MSVC runtime, so it's not viable to check if we're
compiling with MSVC.
2024-10-13 18:30:12 +02:00
cbnolok
4533f80f4c Moved each third-party library to a separate CMake project
This will allow setting per-project (build) settings and to build/link
Sphere using system-provided library source/headers/precompiled lib
(like the ones provided with -devel packages on Linux) instead of the
ones shipped with the projects.
This is also a necessary step to use git submodules.
2024-05-17 11:10:17 +02:00
cbnolok
07082fc518 Fixed: House customization sending wrong component data, breaking it.
Updated AppVeyor image, it looks like the default one has some problems setting up its PostgreSQL installation?
2023-11-18 16:43:22 +01:00
cbnolok
ba14b024a2 Preparations for master/dev branches development model.
Added git branch info into sphere; branch and revision number are not displayed to players/clients (by default).
Fixed some MSVC warnings for WinMain definition and a Clang warning for wrapper_ev.c.
2023-11-16 21:25:56 +01:00
cbnolok
b7e2497c50 Moved to GCC 12, fixes for github workflow and if parsing.
Fixed IF parsing of arguments without curved brackets and inside angular brackets.
Fixed Github Linux workflow.
Fixed Libev config.h generation.
2023-05-03 18:35:08 +02:00
cbnolok
fe4f07d262 Fixed: Assertion failure and segmentation fault/invalid memory access caused by early use of Sphere methods requiring some data to be initialized first. Compilation and execution should now work with latest GCC versions.
Added: functions to explicitly promote or narrow numeric types.
Changed: Target architecture is precisely reported, instead of giving the number of "bits".
2023-04-30 19:32:00 +02:00
cbnolok
572e3f39fc Moved CMakeLists.txt from /src/ to the project root dir. WARNING: you will need to change the source directory in CMake!
Refactored 3rd party libraries folders, moving both source and binaries to /lib/.
Refactored CMakeLists.txt
Abandoned old MySQL C Connector in favor of MariaDB C Connector, which supports all MariaDB versions and MySQL 5.x and 8.x.
Windows: abandoned MySQL libmysql.dll. Now using MariaDB libmysql.dll (compatible with MySQL until 5.x) for x86 builds and libmariadb.dll for x86_64 builds, which supports MariaDB and MySQL versions above.
Switching from Make to Ninja for automatic Linux builds.
2023-04-27 20:54:45 +02:00
Renamed from src/common/libev/wrapper_ev.c (Browse further)