• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1cmake_minimum_required (VERSION 3.14)
2
3project(CMSISDSPSVM)
4
5include(configLib)
6include(configDsp)
7
8
9add_library(CMSISDSPSVM STATIC)
10
11target_sources(CMSISDSPSVM PRIVATE arm_svm_linear_init_f32.c)
12target_sources(CMSISDSPSVM PRIVATE arm_svm_rbf_init_f32.c)
13target_sources(CMSISDSPSVM PRIVATE arm_svm_linear_predict_f32.c)
14target_sources(CMSISDSPSVM PRIVATE arm_svm_rbf_predict_f32.c)
15target_sources(CMSISDSPSVM PRIVATE arm_svm_polynomial_init_f32.c)
16target_sources(CMSISDSPSVM PRIVATE arm_svm_sigmoid_init_f32.c)
17target_sources(CMSISDSPSVM PRIVATE arm_svm_polynomial_predict_f32.c)
18target_sources(CMSISDSPSVM PRIVATE arm_svm_sigmoid_predict_f32.c)
19
20
21
22configLib(CMSISDSPSVM ${ROOT})
23configDsp(CMSISDSPSVM ${ROOT})
24
25### Includes
26target_include_directories(CMSISDSPSVM PUBLIC "${DSP}/Include")
27
28if ((NOT ARMAC5) AND (NOT DISABLEFLOAT16))
29target_sources(CMSISDSPSVM PRIVATE arm_svm_linear_init_f16.c)
30target_sources(CMSISDSPSVM PRIVATE arm_svm_rbf_init_f16.c)
31target_sources(CMSISDSPSVM PRIVATE arm_svm_linear_predict_f16.c)
32target_sources(CMSISDSPSVM PRIVATE arm_svm_rbf_predict_f16.c)
33target_sources(CMSISDSPSVM PRIVATE arm_svm_polynomial_init_f16.c)
34target_sources(CMSISDSPSVM PRIVATE arm_svm_sigmoid_init_f16.c)
35target_sources(CMSISDSPSVM PRIVATE arm_svm_polynomial_predict_f16.c)
36target_sources(CMSISDSPSVM PRIVATE arm_svm_sigmoid_predict_f16.c)
37endif()
38
39
40
41
42