forked from hertog/godot-module-template
		
	
		
			
				
	
	
		
			15 lines
		
	
	
		
			264 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			264 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| #!/usr/bin/env python
 | |
| 
 | |
| Import("env")
 | |
| Import("env_modules")
 | |
| 
 | |
| env_mp = env_modules.Clone()
 | |
| 
 | |
| module_obj = []
 | |
| env_mp.add_source_files(module_obj, "*.cpp")
 | |
| 
 | |
| if env.editor_build:
 | |
|     env_mp.add_source_files(module_obj, "editor/*.cpp")
 | |
| 
 | |
| env.modules_sources += module_obj
 | 
