You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

29 regels
845 B

  1. cmake_minimum_required (VERSION 3.14)
  2. project(CMSISDSPSupport)
  3. include(configLib)
  4. include(configDsp)
  5. file(GLOB SRC "./*_*.c")
  6. add_library(CMSISDSPSupport STATIC ${SRC})
  7. configLib(CMSISDSPSupport ${ROOT})
  8. configDsp(CMSISDSPSupport ${ROOT})
  9. ### Includes
  10. target_include_directories(CMSISDSPSupport PUBLIC "${DSP}/Include")
  11. if ((NOT ARMAC5) AND (NOT DISABLEFLOAT16))
  12. target_sources(CMSISDSPSupport PRIVATE arm_copy_f16.c)
  13. target_sources(CMSISDSPSupport PRIVATE arm_fill_f16.c)
  14. target_sources(CMSISDSPSupport PRIVATE arm_f16_to_q15.c)
  15. target_sources(CMSISDSPSupport PRIVATE arm_q15_to_f16.c)
  16. target_sources(CMSISDSPSupport PRIVATE arm_float_to_f16.c)
  17. target_sources(CMSISDSPSupport PRIVATE arm_f16_to_float.c)
  18. target_sources(CMSISDSPSupport PRIVATE arm_weighted_sum_f16.c)
  19. target_sources(CMSISDSPSupport PRIVATE arm_barycenter_f16.c)
  20. endif()