mirror of
				https://github.com/IcedRooibos/py32f0-template.git
				synced 2025-10-30 17:32:05 -07:00 
			
		
		
		
	
		
			
				
	
	
		
			32 lines
		
	
	
		
			958 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
			
		
		
	
	
			32 lines
		
	
	
		
			958 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
| cmake_minimum_required (VERSION 3.14)
 | |
| 
 | |
| project(CMSISDSPQuaternionMath)
 | |
| 
 | |
| include(configLib)
 | |
| include(configDsp)
 | |
| 
 | |
| 
 | |
| 
 | |
| add_library(CMSISDSPQuaternionMath STATIC arm_quaternion_norm_f32.c)
 | |
| target_sources(CMSISDSPQuaternionMath PRIVATE arm_quaternion_inverse_f32.c)
 | |
| target_sources(CMSISDSPQuaternionMath PRIVATE arm_quaternion_conjugate_f32.c)
 | |
| target_sources(CMSISDSPQuaternionMath PRIVATE arm_quaternion_normalize_f32.c)
 | |
| target_sources(CMSISDSPQuaternionMath PRIVATE arm_quaternion_product_single_f32.c)
 | |
| target_sources(CMSISDSPQuaternionMath PRIVATE arm_quaternion_product_f32.c)
 | |
| target_sources(CMSISDSPQuaternionMath PRIVATE arm_quaternion2rotation_f32.c)
 | |
| target_sources(CMSISDSPQuaternionMath PRIVATE arm_rotation2quaternion_f32.c)
 | |
| 
 | |
| 
 | |
| if ((NOT ARMAC5) AND (NOT DISABLEFLOAT16))
 | |
| endif()
 | |
| 
 | |
| 
 | |
| configLib(CMSISDSPQuaternionMath ${ROOT})
 | |
| configDsp(CMSISDSPQuaternionMath ${ROOT})
 | |
| 
 | |
| ### Includes
 | |
| target_include_directories(CMSISDSPQuaternionMath PUBLIC "${DSP}/Include")
 | |
| 
 | |
| 
 | |
| 
 | 
