diff --git a/core/AMBuilder b/core/AMBuilder index d9f62d83..b8f466be 100644 --- a/core/AMBuilder +++ b/core/AMBuilder @@ -52,17 +52,14 @@ for sdk_name in SM.sdks: compiler = binary.compiler if sdk.name == 'csgo': - # Protobuf 2.3 headers have some signed/unsigned compares. I believe that it's fixed in later versions, but Valve. - if compiler.cxx.behavior == 'gcc': - compiler.cflags += ['-Wno-sign-compare'] compiler.cxxincludes += [ - os.path.join(sdk.path, 'common', 'protobuf-2.3.0', 'src'), + os.path.join(sdk.path, 'common', 'protobuf-2.5.0', 'src'), os.path.join(sdk.path, 'public', 'engine', 'protobuf'), os.path.join(sdk.path, 'public', 'game', 'shared', 'csgo', 'protobuf') ] elif sdk.name == 'dota': compiler.cxxincludes += [ - os.path.join(sdk.path, 'common', 'protobuf-2.4.1', 'src'), + os.path.join(sdk.path, 'common', 'protobuf-2.5.0', 'src'), os.path.join(sdk.path, 'public', 'engine', 'protobuf'), os.path.join(sdk.path, 'public', 'game', 'shared', 'protobuf'), os.path.join(sdk.path, 'public', 'game', 'shared', 'dota', 'protobuf') @@ -109,6 +106,7 @@ for sdk_name in SM.sdks: binary.sources += [ os.path.join(sdk.path, 'public', 'engine', 'protobuf', 'networkbasetypes.pb.cc'), os.path.join(sdk.path, 'public', 'engine', 'protobuf', 'netmessages.pb.cc'), + os.path.join(sdk.path, 'public', 'engine', 'protobuf', 'network_connection.pb.cc'), os.path.join(sdk.path, 'public', 'game', 'shared', 'protobuf', 'ai_activity.pb.cc'), os.path.join(sdk.path, 'public', 'game', 'shared', 'protobuf', 'usermessages.pb.cc'), os.path.join(sdk.path, 'public', 'game', 'shared', 'dota', 'protobuf', 'dota_commonmessages.pb.cc'),