mirror of
				https://github.com/eclipse/upm.git
				synced 2025-10-31 07:04:14 +03:00 
			
		
		
		
	 c16b33ae31
			
		
	
	c16b33ae31
	
	
	
		
			
			Signed-off-by: Serban Waltter <serban.waltter@rinftech.com> Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
		
			
				
	
	
		
			15 lines
		
	
	
		
			634 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			634 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
| # Create an list of all C++ source files in this directory
 | |
| file (GLOB example_src_list RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "*.cxx")
 | |
| 
 | |
| # - Handle special cases here --------------------------------------------------
 | |
| 
 | |
| # Test temperature interface for 2 sensor libraries
 | |
| add_example(iTemperature_sample.cxx TARGETS new_interfaces lm35 abp)
 | |
| # Test light interface for 3 sensor libraries
 | |
| add_example(iLight_sample.cxx TARGETS new_interfaces apds9002 bh1750 max44009)
 | |
| 
 | |
| # - Create an executable for all other src files in this directory -------------
 | |
| foreach (_example_src ${example_src_list})
 | |
|     add_example(${_example_src})
 | |
| endforeach ()
 |