Update core AMBuild script for hl2sdk-csgo and hl2sdk-dota protobuf changes.
This commit is contained in:
		
							parent
							
								
									65269551f9
								
							
						
					
					
						commit
						0b4ec459d3
					
				| @ -52,17 +52,14 @@ for sdk_name in SM.sdks: | |||||||
|   compiler = binary.compiler |   compiler = binary.compiler | ||||||
| 
 | 
 | ||||||
|   if sdk.name == 'csgo': |   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 += [ |     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', 'engine', 'protobuf'), | ||||||
|       os.path.join(sdk.path, 'public', 'game', 'shared', 'csgo', 'protobuf') |       os.path.join(sdk.path, 'public', 'game', 'shared', 'csgo', 'protobuf') | ||||||
|     ] |     ] | ||||||
|   elif sdk.name == 'dota': |   elif sdk.name == 'dota': | ||||||
|     compiler.cxxincludes += [ |     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', 'engine', 'protobuf'), | ||||||
|       os.path.join(sdk.path, 'public', 'game', 'shared', 'protobuf'), |       os.path.join(sdk.path, 'public', 'game', 'shared', 'protobuf'), | ||||||
|       os.path.join(sdk.path, 'public', 'game', 'shared', 'dota', 'protobuf') |       os.path.join(sdk.path, 'public', 'game', 'shared', 'dota', 'protobuf') | ||||||
| @ -109,6 +106,7 @@ for sdk_name in SM.sdks: | |||||||
|     binary.sources += [ |     binary.sources += [ | ||||||
|       os.path.join(sdk.path, 'public', 'engine', 'protobuf', 'networkbasetypes.pb.cc'), |       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', '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', 'ai_activity.pb.cc'), | ||||||
|       os.path.join(sdk.path, 'public', 'game', 'shared', 'protobuf', 'usermessages.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'), |       os.path.join(sdk.path, 'public', 'game', 'shared', 'dota', 'protobuf', 'dota_commonmessages.pb.cc'), | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user