CMakeLists.txt 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. cmake_minimum_required (VERSION 3.14)
  2. project(CMSISDSPStatistics)
  3. include(configLib)
  4. include(configDsp)
  5. add_library(CMSISDSPStatistics STATIC)
  6. target_sources(CMSISDSPStatistics PRIVATE arm_entropy_f32.c)
  7. target_sources(CMSISDSPStatistics PRIVATE arm_entropy_f64.c)
  8. target_sources(CMSISDSPStatistics PRIVATE arm_kullback_leibler_f32.c)
  9. target_sources(CMSISDSPStatistics PRIVATE arm_kullback_leibler_f64.c)
  10. target_sources(CMSISDSPStatistics PRIVATE arm_logsumexp_dot_prod_f32.c)
  11. target_sources(CMSISDSPStatistics PRIVATE arm_logsumexp_f32.c)
  12. target_sources(CMSISDSPStatistics PRIVATE arm_max_f32.c)
  13. target_sources(CMSISDSPStatistics PRIVATE arm_max_no_idx_f32.c)
  14. target_sources(CMSISDSPStatistics PRIVATE arm_max_q15.c)
  15. target_sources(CMSISDSPStatistics PRIVATE arm_max_q31.c)
  16. target_sources(CMSISDSPStatistics PRIVATE arm_max_q7.c)
  17. target_sources(CMSISDSPStatistics PRIVATE arm_mean_f32.c)
  18. target_sources(CMSISDSPStatistics PRIVATE arm_mean_q15.c)
  19. target_sources(CMSISDSPStatistics PRIVATE arm_mean_q31.c)
  20. target_sources(CMSISDSPStatistics PRIVATE arm_mean_q7.c)
  21. target_sources(CMSISDSPStatistics PRIVATE arm_min_f32.c)
  22. target_sources(CMSISDSPStatistics PRIVATE arm_min_q15.c)
  23. target_sources(CMSISDSPStatistics PRIVATE arm_min_q31.c)
  24. target_sources(CMSISDSPStatistics PRIVATE arm_min_q7.c)
  25. target_sources(CMSISDSPStatistics PRIVATE arm_power_f32.c)
  26. target_sources(CMSISDSPStatistics PRIVATE arm_power_q15.c)
  27. target_sources(CMSISDSPStatistics PRIVATE arm_power_q31.c)
  28. target_sources(CMSISDSPStatistics PRIVATE arm_power_q7.c)
  29. target_sources(CMSISDSPStatistics PRIVATE arm_rms_f32.c)
  30. target_sources(CMSISDSPStatistics PRIVATE arm_rms_q15.c)
  31. target_sources(CMSISDSPStatistics PRIVATE arm_rms_q31.c)
  32. target_sources(CMSISDSPStatistics PRIVATE arm_std_f32.c)
  33. target_sources(CMSISDSPStatistics PRIVATE arm_std_q15.c)
  34. target_sources(CMSISDSPStatistics PRIVATE arm_std_q31.c)
  35. target_sources(CMSISDSPStatistics PRIVATE arm_var_f32.c)
  36. target_sources(CMSISDSPStatistics PRIVATE arm_var_q15.c)
  37. target_sources(CMSISDSPStatistics PRIVATE arm_var_q31.c)
  38. configLib(CMSISDSPStatistics ${ROOT})
  39. configDsp(CMSISDSPStatistics ${ROOT})
  40. ### Includes
  41. target_include_directories(CMSISDSPStatistics PUBLIC "${DSP}/Include")
  42. if ((NOT ARMAC5) AND (NOT DISABLEFLOAT16))
  43. target_sources(CMSISDSPStatistics PRIVATE arm_max_f16.c)
  44. target_sources(CMSISDSPStatistics PRIVATE arm_min_f16.c)
  45. target_sources(CMSISDSPStatistics PRIVATE arm_mean_f16.c)
  46. target_sources(CMSISDSPStatistics PRIVATE arm_power_f16.c)
  47. target_sources(CMSISDSPStatistics PRIVATE arm_rms_f16.c)
  48. target_sources(CMSISDSPStatistics PRIVATE arm_std_f16.c)
  49. target_sources(CMSISDSPStatistics PRIVATE arm_var_f16.c)
  50. target_sources(CMSISDSPStatistics PRIVATE arm_entropy_f16.c)
  51. target_sources(CMSISDSPStatistics PRIVATE arm_kullback_leibler_f16.c)
  52. target_sources(CMSISDSPStatistics PRIVATE arm_logsumexp_dot_prod_f16.c)
  53. target_sources(CMSISDSPStatistics PRIVATE arm_logsumexp_f16.c)
  54. target_sources(CMSISDSPStatistics PRIVATE arm_max_no_idx_f16.c)
  55. endif()