Commit Graph

184 Commits

Author SHA1 Message Date
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
Asher Baker
0f62a8ec2f Generate debugging information during compilation (bug 5227, r=ds). 2013-03-17 21:00:28 +00:00
Scott Ehlert
54012523bc Added --no-mysql option to configure script to make MySQL optional (bug 5661, r=dvander). 2013-03-17 02:40:04 -05:00
Scott Ehlert
1d30f00806 Added --sdks option to configure script to specify which SDKs to build againt (bug 5630, r=dvander).
Valid arguments are "all", "present", or a comma delimited list of engine names.

The "all" option will try to build against all supported SDKs. (This is the default.)
The "present" option will only attempt to build against SDKs that exist on the system.

Examples:

configure.py --sdks=css,csgo,ep2v
configure.py --sdks=l4d
configure.py -s present
2013-03-13 20:26:08 -05:00
Nicholas Hastings
7ff4724e28 Typo fix in SDKHooks AMBuildScript. 2013-02-07 23:46:48 -05:00
Nicholas Hastings
0015d00243 Initial commit of latest functional SDKHooks extension. 2013-02-07 23:43:33 -05:00
Peace-Maker
cd9a28864a Updated for CS:S sync (r=asherkin). 2013-02-05 21:45:11 +00:00
Nicholas Hastings
312e26a5cf Added initial support for protobuf usermessages on CS:GO (bug 5579, r=asherkin). 2013-01-22 21:43:12 -05:00
Nicholas Hastings
8dfae523a3 Updated ambuilder script for ep2v lib name changes (bug 5524). 2012-10-26 16:27:00 -04:00
Scott Ehlert
0d795fc651 Added support for CS:GO on Mac OS X (bug 5459, r=psychonic). 2012-08-25 11:28:52 -05:00
Nicholas Hastings
8362b8d226 Split CS:S support off to a separate engine/build (bug 5370, r=asherkin). 2012-08-20 21:53:59 -04:00
Nicholas Hastings
a39943d57d Windows build fix. 2012-05-27 17:21:05 -04:00
Nicholas Hastings
917b6d4521 Added support for CS: Global Offensive (bug 5299, r=asherkin). 2012-05-27 16:08:03 -04:00
Nicholas Hastings
2ba12008c8 Don't add -Wno-delete-non-virtual-dtor for gcc < 4.7. (bug 5205, r=DS). 2012-05-26 15:46:43 -04:00
Asher Baker
5f551fa67a Backed out changeset: 387b27fb575b (bug 5227) 2012-04-14 01:12:24 +01:00
Scott Ehlert
a3593a5124 Fixed build scripts for OS X 10.7 build slave. 2012-03-21 21:35:07 -05:00
Reuben Morais
c7646976fb Removed hardcoded SDK path on OS X (bug 5032, r=ds). 2012-03-21 21:27:26 -05:00
Reuben Morais
8a10cc982c Followup, re-added check for invalid HL2SDK paths (bug 5023, r=ds). 2012-03-21 21:25:34 -05:00
Asher Baker
48738bbae9 Partially added minimal-rebuild support for debug info generation. (bug 5227, r=a-very-sad-buildbot) 2012-03-04 20:01:40 +00:00
Asher Baker
e154f3edb7 Generate and upload breakpad symbols if BREAKPAD_SYMBOL_SERVER variable is set. (bug 5229, r=dvander) 2012-02-17 03:28:02 +00:00
Asher Baker
393c54fdc2 Generate debugging information during compilation. (bug 5227, r=ds) 2012-02-16 19:26:49 +00:00
Reuben Morais
e6df54537a Changed build system so that it no longer requires all SDKs to be available (bug 5023, r=ds). 2011-09-09 18:37:09 -05:00
Nicholas Hastings
1c0abbfce6 Partially fixed build. 2011-08-20 19:21:27 -04:00