FreeSlave
31b66244e5
Remove USE_SDL2. Always use SDL2 on Windows when available
2024-04-28 19:20:17 +00:00
FreeSlave
de1e971fc5
Add WIN32_USE_SDL2 option
2024-04-28 19:20:17 +00:00
f6988f4e49
client: include vcs info to the build and register variables
2024-04-07 16:51:34 +00:00
Andrey Akhmichin
955f7ad436
Port spectator changes from HLSDK 2.4.
2024-02-13 03:41:13 +05:00
Andrey Akhmichin
fd3755e35c
Remove additional android compilation flags.
2024-02-10 04:48:38 +05:00
Andrey Akhmichin
b8845fa4c8
Revert "cmake: set -O3 option to android linker."
...
This reverts commit b8e143f5ac
.
2024-02-10 04:42:33 +05:00
Andrey Akhmichin
b8e143f5ac
cmake: set -O3 option to android linker.
2024-01-15 14:10:37 +05:00
Andrey Akhmichin
38950e4e41
cmake: strip release builds.
2024-01-15 10:00:46 +05:00
Andrey Akhmichin
554dc51472
cmake: add more release optimization flags.
2024-01-15 08:55:36 +05:00
Andrey Akhmichin
86c00428f5
cmake: disable RTTI for *nix.
2024-01-15 07:40:06 +05:00
Andrey Akhmichin
63807139c3
cmake: always use LTO if possible.
2024-01-15 07:18:24 +05:00
Andrey Akhmichin
2f13985e23
Revert "cmake: force to use library naming scheme."
...
This reverts commit b89ce4c527
.
2023-12-21 21:47:02 +05:00
Andrey Akhmichin
b89ce4c527
cmake: force to use library naming scheme.
2023-12-11 17:47:05 +05:00
Andrey Akhmichin
050092763e
cmake: update minimum required version.
2023-12-08 12:58:52 +05:00
Andrey Akhmichin
7fb1dab079
Remove useless files overview.cpp/.h.
2022-11-08 23:53:41 +05:00
Roman Chistokhodov
695e2e060b
Rename false_vgui to fake_vgui ( #286 )
2022-07-20 05:23:52 +00:00
Andrey Akhmichin
b0b68d5755
cmake: update vgui path.
2022-06-18 06:42:42 +05:00
Andrey Akhmichin
987ea07ce1
cmake: add more options and show more diagnostic messages.
2022-06-17 03:59:39 +05:00
Andrey Akhmichin
d8b05d12d5
cmake: better tgmath.h check.
2022-06-16 11:54:55 +05:00
Andrey Akhmichin
1397f3ab4f
cmake: use "lib" prefixe only for Android.
2022-06-16 10:50:14 +05:00
Roman Chistokhodov
b3804d5ad8
Remove redundant dependency on ws2_32 ( #204 )
2021-11-03 22:52:12 +05:00
Roman Chistokhodov
ba2cab60df
Get VGUI back (optionally) ( #194 )
...
* Get VGUI back (optionally)
* Add some missing VGUI invocations
* Update CMakeLists.txt to build with vgui for Windows
* Move windows.h inclusions only to those places where it's really needed
* Try fix mingw build
* Update hud_spectator
* Merge nekonomicon's vgui branch
* Don't include vgui panel and app in cdll_int.cpp if vgui is real
* Deduplicate scoreboard global variables
* Add options to prefer non-vgui motd and scoreboard when vgui is enabled
* Add vgui-dev as a submodule. Add building vith vgui to CI
* Fix artifact uploading
* Don't use global variable when not necessary
* char* to const char* in CMenuHandler_StringCommand constructor
* Fix 'format string is not a literal string' warnings
* Fix 'always evaluate to true' warnings
* Team Fortress classes to const char*
* CreateCommandMenu accepts const char*
* Fix printf formats. Turn some unsigned longs into unsigned ints since they use only 32 bits anyway
* Explicit assignment result as condition
* Prevent memory leak on menu reading
* Localize button text
* Create FileInputStream on stack avoiding the leak
* Remove Servers Browser code
* Arrow file names to const char*
* Fix assignment to the wrong variable
2021-10-27 01:35:11 +00:00
Roman Chistokhodov
136ee78cfd
Make msvc builds in release mode with static runtime ( #185 )
2021-08-27 13:04:15 +05:00
662af50306
Bump minimum CMake version (lower versions are deprecated) ( #182 )
2021-06-18 07:41:38 +05:00
Agent Agrimar
a39583f1ef
client: cmake: add winmm.lib dependency
...
This fixes a linker error when compiling for win32 with Goldsrc Support enabled.
2020-09-13 15:06:52 +03:00
8622cc945d
CMakeLists: remove legacy 64 postfix
2019-11-11 01:07:20 +03:00
4a02cfc012
Merge branch 'double_promotion'
2019-11-05 02:48:47 +05:00
Jonathan Poncelet
71afe6e204
Build: Added user32.lib dependency to CMake
...
Also had to add ResetThink to cbase.h, as it was missing in deug.
2019-10-30 17:43:30 +03:00
11adcd5ac8
cmake: Add check for tgmath.h header.
2019-10-13 20:58:14 +05:00
Jonathan Poncelet
65cb1f54f4
Made library functions hidden by default on Mac/Linux
...
This resolves an issue where the server library was calling client
library functions in error.
2018-08-07 08:24:04 +01:00
Roman Chistokhodov
71f55bb119
Add mingw support to CMakeLists.txt. Add crosscompiling instructions to README.md
2018-04-03 21:39:07 +03:00
4af9030156
Append 64 postfix on 64 bit
2018-03-22 15:23:34 +03:00
9a02d7116f
It's better to use MSVC here instead of WIN32, so it wouldn't break MinGW builds
2017-12-28 02:05:47 +03:00
3dda2ec590
Fix compiling on MSVC2017
2017-12-28 02:02:23 +03:00
c128c69ceb
Add install() for CMake.
2017-12-19 00:27:56 +03:00
a2f0ecf741
Fix linking with libdl on some environments.
2017-12-18 02:44:42 +05:00
Roman Chistokhodov
1759e8c956
Dynamic sdl2 loading from client
2017-12-07 19:29:38 +03:00
Roman Chistokhodov
33de8458d6
Some cleanup. Add false_vgui include path to makefiles
2017-12-07 00:07:05 +03:00
Roman Chistokhodov
51bf51a840
Provide vgui stub to avoid dependency of client of vgui lib
2017-12-06 20:38:14 +03:00
Roman Chistokhodov
d904505f6a
Get vgui back for goldsource fullscreen support
2017-12-06 19:19:27 +03:00
Roman Chistokhodov
1d8d1b5d2e
Use mouse input backend depending on the current engine
2017-12-03 23:52:35 +03:00
Roman Chistokhodov
31b2a68d6d
goldsource mouse input
2017-12-03 19:47:30 +03:00
42052a5057
CMake as optional build system
2016-08-08 13:27:59 +06:00