2
0
mirror of https://github.com/FWGS/hlsdk-xash3d synced 2024-11-22 09:57:21 +01:00
Commit Graph

50 Commits

Author SHA1 Message Date
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
f2a49073bb Query git and set XASH_BUILD_COMMIT and XASH_BUILD_BRANCH macros 2024-04-07 16:51:34 +00:00
cf415b8ef4 Remove unfulfilled dreams (USE_VGUI2) 2024-03-11 01:54:58 +03:00
Andrey Akhmichin
cc0224cb87 Add "minus" into regexp. 2024-02-24 13:41:55 +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
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
fgsfds
a98ed47403 cmake: fix psvita builds 2023-03-09 15:42:16 +01: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
748ff6133c
cmake: fix broken link. 2022-06-17 11:00:30 +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
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
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
219fb37f44 Fix CMake build when included from other project 2021-10-12 16:14:28 +03:00
Roman Chistokhodov
136ee78cfd
Make msvc builds in release mode with static runtime (#185) 2021-08-27 13:04:15 +05:00
7552c1df5e
Silence useless warning on Windows (#183) 2021-06-18 07:42:43 +05:00
662af50306
Bump minimum CMake version (lower versions are deprecated) (#182) 2021-06-18 07:41:38 +05:00
d59c169527 cmake: implement library naming for CMake 2019-11-11 01:07:20 +03:00
Roman Chistokhodov
413e2c941e Add warning checks 2019-08-27 17:00:53 +03:00
59269b1bb0
cmake: remove useless second definition of 64BIT option 2018-12-19 13:39:22 +03:00
b423cac3de Use CMAKE_C_FLAGS value for C++ compilers. 2018-09-12 05:05:55 +05:00
Roman Chistokhodov
71f55bb119 Add mingw support to CMakeLists.txt. Add crosscompiling instructions to README.md 2018-04-03 21:39:07 +03:00
bc379e9234 Add 64/32 bit message and a dumb check when 32 bit isn't properly enabled 2018-03-23 23:08:38 +03:00
4af9030156 Append 64 postfix on 64 bit 2018-03-22 15:23:34 +03:00
4538ba1c19 Force XP toolchain in newer Visual Studio 2018-03-04 00:12:44 +03:00
Roman Chistokhodov
c135463774 add_compile_options for older cmake versions 2018-01-16 15:45:53 +03:00
c128c69ceb Add install() for CMake. 2017-12-19 00:27:56 +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