2
0
mirror of https://github.com/FWGS/hlsdk-xash3d synced 2024-11-25 19:29:13 +01:00
Commit Graph

19 Commits

Author SHA1 Message Date
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