Andrey Akhmichin
ec9bfe7bc2
Merge branch 'master' into aghl
2024-04-29 01:25:43 +05:00
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
Andrey Akhmichin
f5543f3965
Merge branch 'master' into aghl
2024-04-07 22:24:56 +05:00
Alibek Omarov
f6988f4e49
client: include vcs info to the build and register variables
2024-04-07 16:51:34 +00:00
Andrey Akhmichin
96afbf17a8
Link version.lib on windows.
2024-02-27 20:34:07 +05:00
Andrey Akhmichin
5fbc804c1f
Merge branch 'master' into aghl
2024-02-27 04:17:10 +05: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
87ed2c85f1
Merge branch 'master' into aghl
2022-11-15 11:13:48 +05:00
Andrey Akhmichin
7fb1dab079
Remove useless files overview.cpp/.h.
2022-11-08 23:53:41 +05:00
Andrey Akhmichin
9a7b025c3c
Merge branch 'master' into aghl
2022-08-25 05:09:54 +05:00
Roman Chistokhodov
695e2e060b
Rename false_vgui to fake_vgui ( #286 )
2022-07-20 05:23:52 +00:00
Andrey Akhmichin
2603b79c28
Merge branch 'master' into aghl
2022-06-21 06:15:07 +05:00
Andrey Akhmichin
b0b68d5755
cmake: update vgui path.
2022-06-18 06:42:42 +05:00
Andrey Akhmichin
1f3543f565
Merge branch 'master' into aghl
2022-06-17 06:21:31 +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
Andrey Akhmichin
6e8c3a6e9c
Fix build.
2022-06-08 05:38:00 +05:00
Andrey Akhmichin
ba9fc7fb80
Merge branch 'master' into aghl
2022-06-08 04:41:33 +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
Andrey Akhmichin
9722334cbf
Merge branch 'master' into aghl
2021-09-17 23:34:47 +05:00
Roman Chistokhodov
136ee78cfd
Make msvc builds in release mode with static runtime ( #185 )
2021-08-27 13:04:15 +05:00
Andrey Akhmichin
d2d50cc069
Merge branch 'master' into aghl
2021-06-20 04:36:04 +05:00
Bohdan Shulyar
662af50306
Bump minimum CMake version (lower versions are deprecated) ( #182 )
2021-06-18 07:41:38 +05:00
Andrey Akhmichin
314278f529
Merge branch 'master' into aghl
2020-11-22 20:42:53 +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
Andrey Akhmichin
8f86a8fda6
Merge branch 'master' into aghl
2019-11-17 22:40:01 +05:00
Alibek Omarov
8622cc945d
CMakeLists: remove legacy 64 postfix
2019-11-11 01:07:20 +03:00
Andrey Akhmichin
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
Andrey Akhmichin
11adcd5ac8
cmake: Add check for tgmath.h header.
2019-10-13 20:58:14 +05:00
Night Owl
ebedc4a781
Fix compilation on windows.
2018-09-24 22:54:32 +05:00
Night Owl
f4a8f8e505
Merge branch 'master' into aghl-update
2018-09-21 09:54:22 +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
Alibek Omarov
4af9030156
Append 64 postfix on 64 bit
2018-03-22 15:23:34 +03:00
Alibek Omarov
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
Alibek Omarov
3dda2ec590
Fix compiling on MSVC2017
2017-12-28 02:02:23 +03:00