mirror of
				https://github.com/godotengine/godot.git
				synced 2025-10-25 02:43:29 +00:00 
			
		
		
		
	 30783d57cc
			
		
	
	
		30783d57cc
		
	
	
	
	
		
			
			Moved previously builtin modules 'GameCenter', 'AppStore', 'iCloud' to separate modules to be represented as plugin. Modified 'ARKit' and 'Camera' to not be builtin into engine and work as plugin. Changed platform code so it's not affected by the move. Modified Xcode project file to remove parameters that doesn't make any effect. Added basic '.gdip' plugin config file.
		
			
				
	
	
		
			14 lines
		
	
	
	
		
			450 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
	
		
			450 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| #!/usr/bin/env python
 | |
| 
 | |
| Import("env")
 | |
| Import("env_modules")
 | |
| 
 | |
| env_camera = env_modules.Clone()
 | |
| 
 | |
| if env["platform"] == "windows":
 | |
|     env_camera.add_source_files(env.modules_sources, "register_types.cpp")
 | |
|     env_camera.add_source_files(env.modules_sources, "camera_win.cpp")
 | |
| 
 | |
| elif env["platform"] == "osx":
 | |
|     env_camera.add_source_files(env.modules_sources, "register_types.cpp")
 | |
|     env_camera.add_source_files(env.modules_sources, "camera_osx.mm")
 |