CMSIS-DSP: Change to cmake to more easily build wrappers
diff --git a/CMSIS/DSP/Source/CMakeLists.txt b/CMSIS/DSP/Source/CMakeLists.txt
index 0041aaf..ac56523 100755
--- a/CMSIS/DSP/Source/CMakeLists.txt
+++ b/CMSIS/DSP/Source/CMakeLists.txt
@@ -2,9 +2,14 @@
cmake_policy(SET CMP0077 NEW)
project(CMSISDSP)
+# DSP Sources
+SET(DSP ${ROOT}/CMSIS/DSP)
+
+list(APPEND CMAKE_MODULE_PATH ${DSP}/Source)
+list(APPEND CMAKE_MODULE_PATH ${DSP})
+
+
include(config)
-# Needed to find the config modules
-list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/..)
option(NEON "Neon acceleration" OFF)
@@ -141,10 +146,7 @@
#
###########################
-# DSP Sources
-SET(DSP ${ROOT}/CMSIS/DSP)
-list(APPEND CMAKE_MODULE_PATH ${DSP}/Source)
add_library(CMSISDSP INTERFACE)
diff --git a/CMSIS/DSP/Source/TransformFunctions/CMakeLists.txt b/CMSIS/DSP/Source/TransformFunctions/CMakeLists.txt
index 02f40c8..194f607 100644
--- a/CMSIS/DSP/Source/TransformFunctions/CMakeLists.txt
+++ b/CMSIS/DSP/Source/TransformFunctions/CMakeLists.txt
@@ -110,6 +110,10 @@
target_sources(CMSISDSPTransform PRIVATE arm_cfft_radix4_q31.c)
endif()
+# For scipy or or wrappers
+if (WRAPPER)
+target_sources(CMSISDSPTransform PRIVATE arm_cfft_radix2_init_f32.c)
+endif()
### Includes
target_include_directories(CMSISDSPTransform PUBLIC "${DSP}/Include")
diff --git a/CMSIS/DSP/Toolchain/Tools.cmake b/CMSIS/DSP/Toolchain/Tools.cmake
index 8097219..2b3163e 100644
--- a/CMSIS/DSP/Toolchain/Tools.cmake
+++ b/CMSIS/DSP/Toolchain/Tools.cmake
@@ -5,4 +5,9 @@
if (GCC)
include(Toolchain/GCC)
+endif()
+
+if (MSVC)
+ function(compilerSpecificCompileOptions PROJECTNAME ROOT)
+ endfunction()
endif()
\ No newline at end of file