Andrey Akhmichin
a2e2793503
Merge branch 'master' into bubblemod
2024-04-07 22:21:39 +05:00
Alibek Omarov
f2a49073bb
Query git and set XASH_BUILD_COMMIT and XASH_BUILD_BRANCH macros
2024-04-07 16:51:34 +00:00
Andrey Akhmichin
6e64a33c69
Merge branch 'master' into bubblemod
2024-03-24 02:21:01 +05:00
Alibek Omarov
cf415b8ef4
Remove unfulfilled dreams (USE_VGUI2)
2024-03-11 01:54:58 +03:00
Andrey Akhmichin
f13e737ca9
Merge branch 'master' into bubblemod
2024-03-01 08:01:26 +05:00
Andrey Akhmichin
cc0224cb87
Add "minus" into regexp.
2024-02-24 13:41:55 +05:00
Andrey Akhmichin
6b7b00280c
Merge branch 'master' into bubblemod
2024-02-24 13:24:36 +05:00
Andrey Akhmichin
835ce1df21
cmake: add more checks for x86 CPU.
2024-02-13 22:57:13 +05:00
Andrey Akhmichin
49edef9257
Make LTO is optional.
2024-02-10 04:53:43 +05:00
Andrey Akhmichin
130a6aad6a
Fix error message if LTO does not available.
2024-02-10 00:45:10 +05:00
Andrey Akhmichin
63807139c3
cmake: always use LTO if possible.
2024-01-15 07:18:24 +05:00
Andrey Akhmichin
30c1a9fb57
cmake: add option for pollyhedral optimization.
2024-01-12 14:02:25 +05:00
Andrey Akhmichin
81d8b90aca
cmake: fix windows build.
2023-12-21 23:59:52 +05:00
Andrey Akhmichin
61e28760af
cmake: fix wrong condition again.
2023-12-21 22:54:31 +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
881f013742
cmake: fix wrong condition.
2023-12-08 13:34:28 +05:00
Alibek Omarov
822f8906ac
CMakeLists: add support for mod_options.txt
...
* This however, removes support for CMake earlier than 3.9
which isn't a big problem to me, as we also support Waf which supports
Python 2.7, so there is always an option for legacy systems
2023-04-16 04:53:49 +03:00
Andrey Akhmichin
14a4e24cc0
Merge branch 'master' into bubblemod
2023-03-12 00:25:50 +05:00
fgsfds
a98ed47403
cmake: fix psvita builds
2023-03-09 15:42:16 +01:00
Andrey Akhmichin
eed64098b6
Merge branch 'master' into bubblemod
2022-08-24 16:50:02 +05:00
Roman Chistokhodov
12a2aeb3c1
Add WEAPONS_ANIMATION_TIMES_FIX macros for fixing some weapons animation times
2022-07-18 22:31:56 +03:00
Roman Chistokhodov
763af29054
Add HANDGRENADE_DEPLOY_FIX macros for fixing the handgrenade deploy animation after finishing a throw ( #275 )
2022-07-18 13:13:58 +00:00
Roman Chistokhodov
1313bb1b66
Update build instructions. Rename cmake project from HLSDK-XASH3D to HLSDK-PORTABLE ( #274 )
2022-07-18 13:13:44 +00:00
Roman Chistokhodov
5a68ce08bc
Add TRIPMINE_BEAM_DUPLICATION_FIX macros for fixing beam duplication on level transition ( #272 )
2022-07-11 20:36:25 +00:00
Roman Chistokhodov
c8c2841ab9
Build with GoldSource input by default on Windows and Linux ( #264 )
2022-07-09 20:35:57 +00:00
Andrey Akhmichin
f40987e083
Merge branch 'master' into bubblemod
2022-06-21 06:12:51 +05:00
Andrey Akhmichin
748ff6133c
cmake: fix broken link.
2022-06-17 11:00:30 +05:00
Andrey Akhmichin
25656694d1
cmake: change library and mod names
2022-06-17 05:39:49 +05:00
Andrey Akhmichin
c087c14c04
Merge branch 'master' into bubblemod
2022-06-17 05:37:57 +05:00
Andrey Akhmichin
987ea07ce1
cmake: add more options and show more diagnostic messages.
2022-06-17 03:59:39 +05:00
Andrey Akhmichin
2363a8ff21
cmake: do not link libm for MSVC.
2022-06-16 12:30:17 +05:00
Andrey Akhmichin
7431c7a717
cmake: try to link libm.
2022-06-16 12:22:10 +05:00
Andrey Akhmichin
d8dea3cc2b
cmake: add missing bracket.
2022-06-16 12:04:30 +05:00
Andrey Akhmichin
d8b05d12d5
cmake: better tgmath.h check.
2022-06-16 11:54:55 +05:00
Andrey Akhmichin
9c0be6b3a1
Merge branch 'master' into bubblemod
2022-06-07 23:52:14 +05:00
Andrey Akhmichin
3db3772bff
cmake: add a missing brackets
2022-06-04 22:49:11 +05:00
Andrey Akhmichin
c3f77a2ea5
cmake: disable 64BIT flag by default only for 32-bit archs and 64-bit windows and linux
2022-06-04 22:23:41 +05:00
Andrey Akhmichin
630217f0b1
cmake: fix wrong library naming scheme
2022-06-04 21:17:26 +05:00
Roman Chistokhodov
db4cd7846d
Support cmake older than 3.7 ( #203 )
2021-10-28 22:23:12 +05:00
Alibek Omarov
9fde15075b
cmake: fix minor 64BIT checks
2021-10-27 21:23:18 +03: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
Velaron
219fb37f44
Fix CMake build when included from other project
2021-10-12 16:14:28 +03:00
Andrey Akhmichin
4283694d8e
Merge branch 'master' into bubblemod
2021-09-17 23:23:29 +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
b2965191cd
Merge branch 'master' into bubblemod
2021-06-20 04:32:43 +05:00
Bohdan Shulyar
7552c1df5e
Silence useless warning on Windows ( #183 )
2021-06-18 07:42:43 +05:00
Bohdan Shulyar
662af50306
Bump minimum CMake version (lower versions are deprecated) ( #182 )
2021-06-18 07:41:38 +05:00
Andrey Akhmichin
43082768d5
Merge branch 'master' into bubblemod
2020-01-01 16:39:04 +05:00
Alibek Omarov
d59c169527
cmake: implement library naming for CMake
2019-11-11 01:07:20 +03:00