| 
									
										
										
										
											2021-06-19 12:58:49 -03:00
										 |  |  | #!/usr/bin/env python | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | Import("env") | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-03-26 16:48:43 +01:00
										 |  |  | import make_wrappers | 
					
						
							| 
									
										
										
										
											2022-10-12 16:21:34 +02:00
										 |  |  | import make_interface_dumper | 
					
						
							| 
									
										
										
										
											2022-03-26 16:48:43 +01:00
										 |  |  | from platform_methods import run_in_subprocess | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | env.CommandNoCache(["ext_wrappers.gen.inc"], "make_wrappers.py", run_in_subprocess(make_wrappers.run)) | 
					
						
							| 
									
										
										
										
											2022-10-12 16:21:34 +02:00
										 |  |  | env.CommandNoCache( | 
					
						
							| 
									
										
										
										
											2022-12-07 12:11:28 +01:00
										 |  |  |     "gdextension_interface_dump.gen.h", | 
					
						
							|  |  |  |     ["gdextension_interface.h", "make_interface_dumper.py"], | 
					
						
							| 
									
										
										
										
											2022-10-12 16:21:34 +02:00
										 |  |  |     run_in_subprocess(make_interface_dumper.run), | 
					
						
							|  |  |  | ) | 
					
						
							| 
									
										
										
										
											2022-03-26 16:48:43 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-06-19 12:58:49 -03:00
										 |  |  | env_extension = env.Clone() | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | env_extension.add_source_files(env.core_sources, "*.cpp") |