CMakeLists.txt 3.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  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. target_sources(CMSISDSPStatistics PRIVATE arm_absmax_f32.c)
  39. target_sources(CMSISDSPStatistics PRIVATE arm_absmax_q15.c)
  40. target_sources(CMSISDSPStatistics PRIVATE arm_absmax_q31.c)
  41. target_sources(CMSISDSPStatistics PRIVATE arm_absmax_q7.c)
  42. target_sources(CMSISDSPStatistics PRIVATE arm_absmin_f32.c)
  43. target_sources(CMSISDSPStatistics PRIVATE arm_absmin_q15.c)
  44. target_sources(CMSISDSPStatistics PRIVATE arm_absmin_q31.c)
  45. target_sources(CMSISDSPStatistics PRIVATE arm_absmin_q7.c)
  46. configLib(CMSISDSPStatistics ${ROOT})
  47. configDsp(CMSISDSPStatistics ${ROOT})
  48. ### Includes
  49. target_include_directories(CMSISDSPStatistics PUBLIC "${DSP}/Include")
  50. if ((NOT ARMAC5) AND (NOT DISABLEFLOAT16))
  51. target_sources(CMSISDSPStatistics PRIVATE arm_max_f16.c)
  52. target_sources(CMSISDSPStatistics PRIVATE arm_min_f16.c)
  53. target_sources(CMSISDSPStatistics PRIVATE arm_mean_f16.c)
  54. target_sources(CMSISDSPStatistics PRIVATE arm_power_f16.c)
  55. target_sources(CMSISDSPStatistics PRIVATE arm_rms_f16.c)
  56. target_sources(CMSISDSPStatistics PRIVATE arm_std_f16.c)
  57. target_sources(CMSISDSPStatistics PRIVATE arm_var_f16.c)
  58. target_sources(CMSISDSPStatistics PRIVATE arm_entropy_f16.c)
  59. target_sources(CMSISDSPStatistics PRIVATE arm_kullback_leibler_f16.c)
  60. target_sources(CMSISDSPStatistics PRIVATE arm_logsumexp_dot_prod_f16.c)
  61. target_sources(CMSISDSPStatistics PRIVATE arm_logsumexp_f16.c)
  62. target_sources(CMSISDSPStatistics PRIVATE arm_max_no_idx_f16.c)
  63. target_sources(CMSISDSPStatistics PRIVATE arm_absmax_f16.c)
  64. target_sources(CMSISDSPStatistics PRIVATE arm_absmin_f16.c)
  65. endif()