Commit Graph

206 Commits

Author SHA1 Message Date
Scott Ehlert
ce1a4dcac0
64-bit support for CSGO on Linux and macOS (#705) 2017-12-20 01:56:23 -06:00
Nicholas Hastings
4007ec8cf8 Temp fix for load issues on Linux. 2017-12-05 20:44:53 -05:00
Nicholas Hastings
95afe72307
Separate out DOI build. (#718) 2017-11-03 15:45:16 -04:00
Scott Ehlert
27b69559a3 Really fix macOS build. 2017-10-26 20:38:25 -05:00
Kyle Sanderson
65bf85fcbe (Re-)Add support for gcc and clang3.9, 4.0, and 5.0. 2017-10-09 16:53:19 -07:00
Scott Ehlert
bbdecceb4b Switch to AMBuild 2.1 API. (#694) 2017-10-02 07:18:57 -05:00
peace-maker
8840ce905d Update to latest SourcePawn (#639) 2017-07-18 12:48:39 +01:00
Nicholas Hastings
ad3588d0aa Use newer MM:S api for Ep1/Original engine. (#548)
* Use newer MM:S api for Ep1/Original engine.

* Remove doubled FILENAME_1_6_EP1 define.
2017-01-11 21:25:00 -05:00
Nicholas Hastings
7fda6e412a Don't build for CS:GO on Mac anymore. (Game is 64-bit-only there now). 2016-10-13 20:54:54 -04:00
Nicholas Hastings
f668b3fe6c 🐍🐍🐍🐍🐍🐍🐍🐍🐍🐍🐍🐍 2016-06-11 12:43:04 -04:00
Nicholas Hastings
f12924458f Merge branch 'vs2015' 2016-06-11 12:14:12 -04:00
Nicholas Hastings
40f2512317 Remove support for Source 1 Dota 2. (#496) 2016-04-26 23:18:47 -04:00
Nicholas Hastings
29a5daab98 Allow support for running on filesystems that use 64-bit inodes on Linux. (#502)
Most supported games don't even support this case, but at least CS:GO does. WIthout
this fix, some filesystem calls can fail, or in the case of readdir, fail to return all/any files.
This was first observed when using an XFS-formatted volume on CentOS 7 x64.
2016-04-26 23:17:36 -04:00
Nicholas Hastings
416abd81a1 Add support for compiling with VS2015. 2016-03-30 08:56:27 -04:00
Nicholas Hastings
3c24ce4d7b Change --exclude-libs to be for Linux only. Apple's linker does not support it. 2016-01-09 11:50:13 -05:00
Nicholas Hastings
05c7bd4be9 Don't export (all) symbols from included static lib on Linux/Mac. 2016-01-09 10:26:12 -05:00
Nicholas Hastings
529d7e2659 Fix Insurgency build on Linux for SDK changes. 2015-10-27 18:17:26 -07:00
David Anderson
6c5ab80418 Refactor and cleanup the AMBuildScript a bit. 2015-10-08 14:55:53 -07:00
Nicholas Hastings
292df5010f Stop building Source 1 Dota 2 build. 2015-09-18 15:36:46 -04:00
David Anderson
e30b57cb4a Update build scripts for new AMTL folder structure. 2015-08-26 15:54:55 -04:00
Nicholas Hastings
4dd641287d Fix typo in last commit. 2015-08-15 11:56:36 -04:00
Nicholas Hastings
199d1b8eeb Fix Mac build. 2015-08-14 22:00:43 -04:00
Nicholas Hastings
620cb405b1 Fix build on Clang 3.6. 2015-08-14 08:25:40 -04:00
Nicholas Hastings
4152e05dcd Fix indentation. 2015-05-12 06:21:32 -07:00
Nicholas Hastings
b3efc36487 Link libm in all bin, not just engine-specific ones.
This fixes the "undefined symbol: floorf" error that some people were getting in sourcemod.logic.so.
2015-05-11 18:59:12 -04:00
Nicholas Hastings
64f9aedebc Add basic support for Black Mesa.
(Basically a copy of SDK 2013's support, but against BMS SDK).
2015-05-06 21:12:13 -04:00
David Anderson
7fc993e079 Fix build. 2015-03-15 19:27:44 -07:00
David Anderson
2ab3498ab0 Use upstream SourcePawn as a submodule. 2015-03-15 16:38:38 -07:00
David Anderson
eaea3c927d Update upstream AMTL as a submodule. 2015-03-08 00:24:03 -08:00
David Anderson
561004c4bf Move SourcePawn headers out of public/ into sourcepawn/include. 2015-03-07 11:13:32 -08:00
David Anderson
d459ebee41 Rename jit/ to vm/. 2015-03-07 10:50:35 -08:00
Nicholas Hastings
aff2551942 Remove conditionals in ambuild scripts for using msvc <2013 (not supported). 2015-01-21 11:04:52 -05:00
Nicholas Hastings
7e8473b61a Remove /Zo on debug builds and add on release builds. 2014-12-14 16:03:42 -05:00
Nicholas Hastings
03abafce3d Change /d2Zi+ flag on msvc builds to /Zo.
http://msdn.microsoft.com/en-us/library/dn785163.aspx
2014-12-14 14:59:16 -05:00
Nicholas Hastings
f0fe427fee Link libstdc++ on linux for CS:GO. 2014-09-11 19:23:10 -04:00
Nicholas Hastings
96f8d635c3 Re-enable -Wformat and -Wformat-security in builds 2014-09-09 22:05:07 -04:00
Nicholas Hastings
892edd9650 Allow BindIdentity and FindAdminByIdentity to take more SteamID formats for steam auth type 2014-09-04 15:26:12 -07:00
David Anderson
666b6b97ee Fix Mac build on apple-clang 5.0. 2014-08-22 20:30:35 -07:00
David Anderson
a7342f3fa2 Fix AMBuildScript compatibility issue with older objdirs. 2014-07-05 13:28:55 -07:00
David Anderson
68ab7f0a12 Merge pull request #61 from VoiDeD/ambuild-disable-auto-versioning
Add an ambuild configure option to disable auto versioning.
2014-07-05 09:39:35 -07:00
David Anderson
9a2bdd3792 Add -Wno-sometimes-uninitialized. 2014-07-04 23:10:23 -07:00
David Anderson
79d9a49d28 Fix compiler bug. 2014-07-04 22:46:55 -07:00
Ryan Stecker
d4f4a7eed0 Add an ambuild configure option to disable auto versioning. 2014-07-02 13:29:59 -05:00
Scott Ehlert
415b6ea174 Use -Wno-deprecated-register on clang 3.4+ or Apple clang 5.1+ only (bug 6164). 2014-07-01 16:13:22 -05:00
David Anderson
6a5da160ad Fix build. 2014-06-25 01:06:48 -07:00
David Anderson
ec61d4d188 Add a general profiling abstraction layer. 2014-06-24 01:04:13 -07:00
Nicholas Hastings
8b7ce5eed2 Enable C++ support on "like" gcc builds. 2014-06-19 20:59:15 -04:00
David Anderson
897aa42135 Remove tag(). 2014-05-31 19:59:02 -07:00
David Anderson
abdf7d5b07 Port build scripts to the new project API. 2014-05-31 19:56:42 -07:00
David Anderson
9f8f879590 Fix typo. 2014-05-31 18:12:49 -07:00
David Anderson
db14d2d00a Factor out versioning. 2014-05-31 17:57:53 -07:00
David Anderson
4f7b0ff487 Update the build script to the latest AMBuild API. 2014-05-30 22:50:35 -07:00
David Anderson
1e6843f8db Add support for the preliminary IDE project file generator. 2014-05-30 19:07:56 -07:00
David Anderson
b4144d2cff Find metamod-source over mmsource-central. 2014-05-26 21:38:08 -07:00
David Anderson
5bbcc7322c Add path configuration options. 2014-05-26 21:30:43 -07:00
David Anderson
fbaa3a804f Make SDK keys consistent. 2014-05-25 02:14:05 -07:00
David Anderson
2e89d91a86 Switch build infrastructure to Git. 2014-05-25 01:53:58 -07:00
Ruben Gonzalez
8ed66980c0 Update for hl2sdk-l4d changes. 2014-05-21 00:09:53 -04:00
David Anderson
29ff05bd62 Fix compiler bug with multidimensional array variable release (bug 6100, r=fyren).
--HG--
extra : rebase_source : 3f3c366fd8c47268ecd0df5907b68d3c879a5e60
2014-05-09 23:17:14 -04:00
Nicholas Hastings
63451b7b6b Update for hl2sdk-nd changes. 2014-04-20 12:00:04 -04:00
Nicholas Hastings
2b015a1d5b Add support for Contagion (bug 6007, r=asherkin). 2014-03-29 14:14:00 -04:00
Nicholas Hastings
8c513faad5 Fix non-msvc build. 2014-03-21 12:08:17 -04:00
Nicholas Hastings
6e8d9ff788 Record inline function debug info in PDB files (r=asherkin). 2014-03-21 12:04:41 -04:00
Scott Ehlert
f8f4cebe9e Add support for Dota 2 on Linux and Mac OS X (bug 6068, r=psychonic). 2014-03-03 05:20:38 -06:00
Nicholas Hastings
5b96047ce8 Enable SDK "COMPILER_*" defines for all builds (nobug, r=asherkin). 2014-02-28 20:43:07 -05:00
Scott Ehlert
9be71eea2f Fix ___strlcat_chk symbol error on OS X 10.8 and earlier (bug 6046, r=dvander). 2014-02-13 01:28:13 -06:00
Nicholas Hastings
c5f496670d Define NETWORK_VARS_ENABLED for SDKs that require it. 2014-02-10 21:04:01 -05:00
Scott Ehlert
e00e879af5 Use == instead of is operator for checking string equality in AMBuild scripts (bug 6043, r=dvander). 2014-02-09 22:50:20 -06:00
Scott Ehlert
40d03f78cf Hopefully fixed clang build on Linux. 2014-01-08 17:37:55 -06:00
Scott Ehlert
3f3343e945 Changes to pushbuild.txt now trigger a reconfigure. 2014-01-08 17:09:50 -06:00
David Anderson
cfad3b26ca Port breakpad symbol uploading to AMBuild 2 (bug 5997 part 16, r=ds). 2013-12-30 17:51:02 -05:00
David Anderson
b69b0de234 Various build fixes (bug 5997 part 14, r=ds). 2013-12-30 17:51:01 -05:00
David Anderson
6d320163a1 Various Windows build fixes (bug 5997 part 13, r=ds).
--HG--
rename : sourcepawn/compiler/libpawnc.rc => sourcepawn/compiler/version.rc
2013-12-30 17:51:00 -05:00
David Anderson
ae21f29ad9 Port the PDB log to AMBuild 2 (bug 5997 part 11, r=ds). 2013-12-30 17:51:00 -05:00
David Anderson
f82224eba0 Move versioning to a static library to improve trivial build speed (bug 5997 part 9, r=ds). 2013-12-30 17:51:00 -05:00
David Anderson
c2cfe60102 Port versioning to AMBuild 2 (bug 5997 part 8, r=ds). 2013-12-30 17:50:59 -05:00
David Anderson
75e622e879 Port packaging to AMBuild 2 (bug 5997 part 6, r=ds). 2013-12-30 17:50:59 -05:00
David Anderson
9c19f6efb7 Port plugin build scripts to AMBuild 2 (bug 5997 part 5, r=ds). 2013-12-30 17:50:58 -05:00
David Anderson
54ed1807c0 Port webternet/curl to AMBuild 2 (bug 5997 part 2, r=ds). 2013-12-30 17:50:57 -05:00
David Anderson
e1a820dcf9 Port simple C++ build scripts to AMBuild 2 (bug 5997 part 1, r=ds). 2013-12-30 17:50:56 -05:00
Nicholas Hastings
e0746e1ab8 Added engine support for Insurgency (bug 5951, r=asherkin). 2013-10-13 14:16:08 -04:00
Nicholas Hastings
5e1d207eae Added engine support for Blade Symphony (bug 5949, r=asherkin). 2013-10-13 14:15:29 -04:00
Nicholas Hastings
3e15966c3e Add support for Source SDK Base 2013 (bug 5917, r=asherkin). 2013-10-13 14:14:51 -04:00
David Anderson
4dc5d0e12f Fix -Wno order in AMBuildScript. 2013-08-30 12:50:47 -07:00
David Anderson
dab2932550 Fix Linux build. 2013-08-22 18:03:00 -07:00
David Anderson
de8726ab73 Move ke_ headers to new public/amtl folder.
--HG--
rename : public/sourcepawn/ke_allocator_policies.h => public/amtl/ke_allocator_policies.h
rename : public/sourcepawn/ke_inline_list.h => public/amtl/ke_inline_list.h
rename : public/sourcepawn/ke_thread_posix.h => public/amtl/ke_thread_posix.h
rename : public/sourcepawn/ke_thread_utils.h => public/amtl/ke_thread_utils.h
rename : public/sourcepawn/ke_thread_windows.h => public/amtl/ke_thread_windows.h
rename : public/sourcepawn/ke_utility.h => public/amtl/ke_utility.h
rename : public/sourcepawn/ke_vector.h => public/amtl/ke_vector.h
2013-08-22 16:30:44 -07:00
David Anderson
45856816c1 Rewrite IThreader implementation around new synchronization primitives (bug 5862, r=fyren). 2013-08-19 20:58:02 -07:00
Nicholas Hastings
3d6d4f5464 typo 2013-08-15 18:53:02 -04:00
Nicholas Hastings
61bc6ec825 snaaaaaaaaaaaaaaaaakes 2013-08-15 18:49:55 -04:00
Nicholas Hastings
fc240d4dfa Only add -Wno-narrowing if GCC >= 4.6 or Clang(?). 2013-08-15 18:34:51 -04:00
Nicholas Hastings
d0e18ed0ba Debug build fixes.
--HG--
extra : rebase_source : 772710f29b5aca5e0e4b7276fcb19b3702450e3f
2013-08-10 12:22:09 -04:00
David Anderson
ad543c909c Add -Wno-narrowing to support building on GCC-4.7 (no bug, r=me). 2013-08-08 09:40:23 -07:00
Nicholas Hastings
80d94e1aa3 Build against MM:S 1.10. 2013-07-31 18:42:15 -04:00
Nicholas Hastings
a36c266e7d Split TF2, DoD:S, HL2:DM, and ND to separate binaries (bug 5813, r=asherkin). 2013-07-21 11:53:56 -04:00
Nicholas Hastings
7b5708a8b4 Define POSIX when compiling for any build on linux/mac. 2013-07-06 11:53:58 -04:00
Nicholas Hastings
d1500dc99b Updated ambuild script for new l4d2 library names. 2013-06-30 10:45:19 -04:00
Nicholas Hastings
e8dc1480eb Don't omit frame pointer on msvc builds. 2013-05-13 14:19:17 -04:00
Asher Baker
fe61f583e6 Only split DWARF data out for non-explicit-debug builds (bug 5683, r=dvander). 2013-04-11 00:34:52 +01:00
Nicholas Hastings
eacff1f0b4 Another build fix. 2013-03-19 12:15:24 -04:00
Nicholas Hastings
2c7537b4cd Dota 2 support in Ambuild scripts (bug 5656, r=asherkin). 2013-03-19 11:22:31 -04:00