Updating setup.cmake files to use Module hierarchy implicitly
- Added AddModule CMake function which simplifies specifying module requirements
This commit is contained in:
		
							parent
							
								
									c9b1769608
								
							
						
					
					
						commit
						1e9f55a0bf
					
				
					 16 changed files with 125 additions and 349 deletions
				
			
		| 
						 | 
				
			
			@ -1,6 +1,6 @@
 | 
			
		|||
###| CMake Kiibohd Controller Debug Module |###
 | 
			
		||||
#
 | 
			
		||||
# Written by Jacob Alexander in 2011,2014 for the Kiibohd Controller
 | 
			
		||||
# Written by Jacob Alexander in 2011-2015 for the Kiibohd Controller
 | 
			
		||||
#
 | 
			
		||||
# Released into the Public Domain
 | 
			
		||||
#
 | 
			
		||||
| 
						 | 
				
			
			@ -11,26 +11,15 @@
 | 
			
		|||
# Module C files
 | 
			
		||||
#
 | 
			
		||||
 | 
			
		||||
set( DEBUG_SRCS
 | 
			
		||||
set ( Module_SRCS
 | 
			
		||||
	print.c
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
###
 | 
			
		||||
# Module Specific Options
 | 
			
		||||
#
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
###
 | 
			
		||||
# Just in case, you only want this module and are using others as well
 | 
			
		||||
#
 | 
			
		||||
add_definitions( -I${HEAD_DIR}/Debug/off )
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
###
 | 
			
		||||
# Compiler Family Compatibility
 | 
			
		||||
#
 | 
			
		||||
set( DebugModuleCompatibility
 | 
			
		||||
set ( ModuleCompatibility
 | 
			
		||||
	arm
 | 
			
		||||
	avr
 | 
			
		||||
)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue