CMakeLists.txt 602 B

12345678910111213141516171819202122232425262728293031
  1. cmake_minimum_required (VERSION 3.6)
  2. project(CMSISDSPCommon)
  3. add_library(CMSISDSPCommon STATIC arm_common_tables.c)
  4. if (CONFIGTABLE AND ALLFFT)
  5. target_compile_definitions(CMSISDSPCommon PUBLIC ARM_ALL_FFT_TABLES)
  6. endif()
  7. if (CONFIGTABLE AND ALLFAST)
  8. target_compile_definitions(CMSISDSPCommon PUBLIC ARM_ALL_FAST_TABLES)
  9. endif()
  10. include(fft)
  11. fft(CMSISDSPCommon)
  12. include(interpol)
  13. interpol(CMSISDSPCommon)
  14. target_sources(CMSISDSPCommon PRIVATE arm_const_structs.c)
  15. configdsp(CMSISDSPCommon ..)
  16. ### Includes
  17. target_include_directories(CMSISDSPCommon PUBLIC "${DSP}/../../Include")