CMakeLists.txt 517 B

1234567891011121314151617181920212223
  1. cmake_minimum_required (VERSION 3.14)
  2. project(CMSISDSPBayes)
  3. include(configLib)
  4. include(configDsp)
  5. file(GLOB SRC "./*_*.c")
  6. add_library(CMSISDSPBayes STATIC)
  7. target_sources(CMSISDSPBayes PRIVATE arm_gaussian_naive_bayes_predict_f32.c)
  8. configLib(CMSISDSPBayes ${ROOT})
  9. configDsp(CMSISDSPBayes ${ROOT})
  10. ### Includes
  11. target_include_directories(CMSISDSPBayes PUBLIC "${DSP}/Include")
  12. if ((NOT ARMAC5) AND (NOT DISABLEFLOAT16))
  13. target_sources(CMSISDSPBayes PRIVATE arm_gaussian_naive_bayes_predict_f16.c)
  14. endif()