Commit Graph

31 Commits

Author SHA1 Message Date
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
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
Roman Chistokhodov 136ee78cfd
Make msvc builds in release mode with static runtime (#185) 2021-08-27 13:04:15 +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
Alibek Omarov 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
Alibek Omarov 59269b1bb0
cmake: remove useless second definition of 64BIT option 2018-12-19 13:39:22 +03:00
Night Owl 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
Alibek Omarov 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
Alibek Omarov 4af9030156 Append 64 postfix on 64 bit 2018-03-22 15:23:34 +03:00
Alibek Omarov 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
Alibek Omarov 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
a1batross 42052a5057 CMake as optional build system 2016-08-08 13:27:59 +06:00