CMakeLists.txt 960 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. cmake_minimum_required (VERSION 3.6)
  2. project(CMSISDSPCommon)
  3. include(configLib)
  4. include(configDsp)
  5. add_library(CMSISDSPCommon STATIC arm_common_tables.c)
  6. configLib(CMSISDSPCommon ${ROOT})
  7. configDsp(CMSISDSPCommon ${ROOT})
  8. if (CONFIGTABLE AND ALLFFT)
  9. target_compile_definitions(CMSISDSPCommon PUBLIC ARM_ALL_FFT_TABLES)
  10. endif()
  11. if (CONFIGTABLE AND ALLFAST)
  12. target_compile_definitions(CMSISDSPCommon PUBLIC ARM_ALL_FAST_TABLES)
  13. endif()
  14. include(fft)
  15. fft(CMSISDSPCommon)
  16. include(interpol)
  17. interpol(CMSISDSPCommon)
  18. target_sources(CMSISDSPCommon PRIVATE arm_const_structs.c)
  19. ### Includes
  20. target_include_directories(CMSISDSPCommon PUBLIC "${DSP}/Include")
  21. if (NEON OR NEONEXPERIMENTAL)
  22. target_sources(CMSISDSPCommon PRIVATE "${DSP}/ComputeLibrary/Source/arm_cl_tables.c")
  23. endif()
  24. if (HELIUM OR MVEF)
  25. target_sources(CMSISDSPCommon PRIVATE "${DSP}/Source/CommonTables/arm_mve_tables.c")
  26. endif()