Skip to content

Commit

Permalink
Nuke core-legacy - MM:S v1.4 API. (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
psychonic committed Oct 11, 2016
1 parent a112f84 commit 937b401
Show file tree
Hide file tree
Showing 81 changed files with 125 additions and 24,420 deletions.
2 changes: 0 additions & 2 deletions .travis.yml
Expand Up @@ -26,9 +26,7 @@ script:
- CC=clang-3.7 CXX=clang-3.7 python ../configure.py --enable-optimize --enable-tests --sdks=
- ambuild
- ./core/sourcehook/test/test_sourcehook/test_sourcehook -v
- ./core-legacy/sourcehook/test/test_sourcehook/test_sourcehook -v
- cd .. && mkdir build-sh-debug && cd build-sh-debug
- CC=clang-3.7 CXX=clang-3.7 python ../configure.py --enable-debug --enable-tests --sdks=
- ambuild
- ./core/sourcehook/test/test_sourcehook/test_sourcehook -v
- ./core-legacy/sourcehook/test/test_sourcehook/test_sourcehook -v
6 changes: 2 additions & 4 deletions AMBuildScript
Expand Up @@ -17,7 +17,7 @@ WinLinux = ['windows', 'linux']
WinLinuxMac = ['windows', 'linux', 'mac']

PossibleSDKs = {
'episode1': SDK('HL2SDK', '1.ep1', '1', 'EPISODEONE', WinLinux, 'episode1'),
'episode1': SDK('HL2SDK', '2.ep1', '1', 'EPISODEONE', WinLinux, 'episode1'),
'ep2': SDK('HL2SDKOB', '2.ep2', '3', 'ORANGEBOX', WinLinux, 'orangebox'),
'css': SDK('HL2SDKCSS', '2.css', '6', 'CSS', WinLinuxMac, 'css'),
'hl2dm': SDK('HL2SDKHL2DM', '2.hl2dm', '7', 'HL2DM', WinLinuxMac, 'hl2dm'),
Expand Down Expand Up @@ -253,7 +253,7 @@ class MMSConfig(object):
os.path.join(context.sourcePath, 'loader'),
]

defines = ['SE_' + self.sdks[i].define + '=' + self.sdks[i].code for i in self.sdks]
defines = ['SE_' + PossibleSDKs[i].define + '=' + PossibleSDKs[i].code for i in PossibleSDKs]
compiler.defines += defines
paths = [['public'],
['public', 'engine'],
Expand Down Expand Up @@ -415,13 +415,11 @@ if MMS.use_auto_versioning():

BuildScripts = [
'loader/AMBuilder',
'core-legacy/AMBuilder',
'core/AMBuilder',
]
if getattr(builder.options, 'enable_tests', False):
BuildScripts += [
'core/sourcehook/test/AMBuilder',
'core-legacy/sourcehook/test/AMBuilder',
]

if builder.backend == 'amb2':
Expand Down
20 changes: 0 additions & 20 deletions core-legacy/AMBuilder

This file was deleted.

0 comments on commit 937b401

Please sign in to comment.