1
0
mirror of https://github.com/alliedmodders/metamod-source.git synced 2024-11-28 10:24:20 +01:00
Commit Graph

148 Commits

Author SHA1 Message Date
Nick Hastings
827c1baf0c chore(build): Remove unused variable 2024-08-04 15:02:26 -04:00
Kenzzer
4158430180 undo the compiler flags change 2024-08-03 12:18:34 -04:00
Kenzzer
222c174f0d add x64 stub generator support 2024-08-03 11:59:56 -04:00
Nick Hastings
f5f14786b9 Disable ordered-compare-function-pointers warning on Clang 13+ 2024-07-06 13:50:12 -04:00
Nick Hastings
454d95784f fix: Improve relative path support for hl2sdks 2024-07-06 13:21:12 -04:00
vanz666
1a0c220656 Update AMBuildScript 2023-11-18 21:18:46 -05:00
Nick Hastings
30f0aa65b4 Move standard source 2 include source files in HL2Library 2023-11-15 19:09:10 -05:00
Nick Hastings
a8050d0da7 Fix MM:S no longer being to load on games built with old, incompatible libm (fixes #146) 2023-11-11 12:26:12 -05:00
Nick Hastings
07a479f2d5 Fix build when no SDKs are specified (for running SourceHook tests) 2023-10-26 14:49:34 -05:00
David Anderson
79975541ac Clean up the SDK detection algorithm to fix hl2dm errors. 2023-10-15 12:57:10 -07:00
Nick Hastings
3955c1b8fc Fix regression causing --sdks ambuild option to be ignored 2023-10-14 13:09:59 -04:00
Nick Hastings
65ef24fe47 Fix regex backslash escaping in build script 2023-10-14 12:54:09 -04:00
sappho
437de2b6fe
Switch to C++17 (#128) 2023-10-13 10:01:09 -07:00
David Anderson
9dd5144128 Update manifests; statically link libstdc++ now. 2023-10-11 21:19:16 -07:00
David Anderson
e11a90b5db Update manifests. 2023-10-11 09:48:57 -07:00
David Anderson
1aae42c579
Switch to a manifest-based build model. (#131)
Rather than hardcode a bunch of SDK stuff, this is an attempt to move
SDK information to a declarative model. Each SDK gets a manifest, and
the manifests are stored in a shared repository.

Manifests encode stuff like "what platforms does this SDK build on" and
"what link flags do I need on each architecture".

This will hopefully reduce the complexity of the build scripts, since
going forward we only have to add new manifests, rather than figure out
how to attach more gunk into the build logic.
2023-10-10 22:17:27 -07:00
Wend4r2
5ed17a9081 Malloc override on s2 2023-09-28 22:56:19 +03:00
Nicholas Hastings
ef78389803
Merge branch 'master' into 🍿 2023-09-27 16:59:24 +00:00
Nick Hastings
b8c61ca7f4 MCV: fix Linux tier0/vstdlib bin names 2023-09-24 13:07:13 -04:00
Nicholas Hastings
e331e94d2e
Update MCV platform support. (#115) 2023-09-24 16:20:59 +00:00
Nick Hastings
e1a81e3c06 Improve CS2 support and S2 game detection 2023-05-21 12:07:05 -04:00
Nick Hastings
d62379244c Add and use META_IS_SOURCE2 define 2023-05-16 14:31:31 -04:00
Nick Hastings
2d74e15a4c Don't link vstdlib on Source 2. It doesn't exist 2023-04-01 00:20:04 -04:00
Nick Hastings
82cd23bc10 Add cs2 build. (No targets for now) 2023-04-01 00:19:42 -04:00
Nick Hastings
035717c694 Re-enable Dota 2 build 2023-04-01 00:01:26 -04:00
Nick Hastings
4da281d957 Remove x86 from Source2 build targets 2023-04-01 00:00:20 -04:00
David Anderson
86b5917309 Only load plugins that have executable extensions.
Bug: issue #102
Test: meta load crab.yam with hl2sdk-mock
2023-02-20 11:08:01 -08:00
Nicholas Hastings
63c5c15a9f
Add support for Military Conflict: Vietnam (#100) 2022-12-20 01:27:03 +00:00
Spirrwell
5c0c675c58
Make PVKII also link against stdc++ for Linux (#98) 2022-10-24 23:39:51 +00:00
Spirrwell
437feb57bd
Split PVKII into its own engine branch (#97)
* Initial PVKII branch support

* Fix compiler error

* Add missing SE_PVKII check

* Update checkout-deps with 'pvkii'

* Change PVKII code to 10 and bump others by 1, including recommended change in provider_ep2.cpp:135
2022-10-24 16:57:18 +00:00
David Anderson
3f583d7c4e Don't build SDKs that aren't present. 2021-11-01 14:31:13 -07:00
David Anderson
33c5be645f Exclude mock from all SDKs. 2021-11-01 14:23:45 -07:00
David Anderson
de10d23cf3 Fix hl2sdk-mock build. 2021-11-01 14:19:24 -07:00
Nick Hastings
72029856ac Disable hl2sdk-mock build until it builds without errors. 2021-10-18 17:45:59 -04:00
Nick Hastings
8768fe9a16 On Linux Blade Symphony, link against server libs instead of client.
(Fixes META_CONPRINT)
2021-10-02 11:42:26 -04:00
David Anderson
4f1721e9e4 Add support for hl2sdk-mock.
This also fixes UTIL_Relatize basically being completely bogus. For
backwards compat it's wrapped in a helper though.
2021-09-22 12:05:15 -07:00
peace-maker
076717b6f4
Start using Github Actions (#83)
* Start using Github Actions

Test on all platforms. SourceHook tests are broken on windows
so allow failures until they're fixed.

* Only run the workflow for the master branch
2021-05-07 10:49:22 +02:00
Asher Baker
80d3f9c14d
Restore the frame pointer on Linux (#78)
See alliedmodders/sourcemod#1200
2020-12-28 02:10:53 +00:00
peace-maker
0ab7434c43
Enable Insurgency and Blade Symphony x64 builds (#77)
* Enable Insurgency and Blade Symphony x64 builds

The HL2SDKs were updated to support compilation and linking on x64 before. #67 allowed to load MMS on Blade Symphony Win64. AMBuild 2.2 allowed to build for multiple architectures in one build script on Windows.

#76

* Add Insurgency to AppVeyor SDKs to test win64 builds

* Try to enable x64 builds on appveyor

* I don't know PowerShell syntax

* Split the envvar before usage

Thanks psychonic!
2020-12-22 23:45:29 +01:00
David Anderson
a4aafd7625 Fix for latest AMBuild API. 2020-08-24 21:41:35 -07:00
David Anderson
644dfe50a7 Fix another arch use. 2020-08-19 15:03:47 -07:00
David Anderson
acea12f29b Upgrade to AMBuild 2.2. 2020-08-19 14:41:55 -07:00
Asher Baker
1b449d20b8 Changes required for upcoming Blade Symphony update 2020-03-10 23:54:57 +00:00
Nick Hastings
de330743d8 Disable Dota 2 build until linking issues are fixed. 2019-03-28 22:17:57 -04:00
Maksim Smolin
02e061d88c Fix XCode 10+ build issues (#55) 2019-01-21 21:52:48 -08:00
Kyle Sanderson
e573602f81
Add additional test coverage to Travis-CI. (#50)
* NPOTB: clang clang clang goes the trolly, gcc7 goes the bell.

* Update AMBuildScript

* Initialize engine_path when abspath fails.

* Fix lptr being uninitialized when getcwd fails.

* Remove GCC6; deeper issues than this PR will cover
2018-07-27 22:03:33 -07:00
Nick Hastings
3eb261a24d Link mathlib on BMS now (for vec3_origin required by tier1 ConVar).
This is also to trigger an MM:S build for hl2sdk changes in multiple branches.
2018-05-05 10:56:51 -04:00
Nicholas Hastings
d6ee3bfaae Re-enable Dota 2 Linux x64 build. 2017-12-20 08:47:03 -05:00
Scott Ehlert
db3e20a99f Disable 64-bit Linux dota build for now. 2017-12-20 01:49:02 -06:00
Scott Ehlert
79435093d9
64-bit support for CSGO on Linux and macOS (#35) 2017-12-20 01:11:57 -06:00