forked from hertog/godot-module-template
		
	
		
			
				
	
	
		
			21 lines
		
	
	
		
			420 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			420 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| #!/usr/bin/env python
 | |
| from misc.utility.scons_hints import *
 | |
| 
 | |
| Import("env")
 | |
| Import("env_modules")
 | |
| 
 | |
| env_noise = env_modules.Clone()
 | |
| 
 | |
| thirdparty_dir = "#thirdparty/noise/"
 | |
| env_noise.Prepend(CPPEXTPATH=[thirdparty_dir])
 | |
| 
 | |
| # Godot source files
 | |
| 
 | |
| module_obj = []
 | |
| 
 | |
| env_noise.add_source_files(module_obj, "*.cpp")
 | |
| if env.editor_build:
 | |
|     env_noise.add_source_files(module_obj, "editor/*.cpp")
 | |
| 
 | |
| env.modules_sources += module_obj
 | 
