Use SIMD-optimized pffft fork
This commit is contained in:
parent
2b7ccf50d6
commit
66646b49b6
2
.gitmodules
vendored
2
.gitmodules
vendored
|
@ -1,3 +1,3 @@
|
|||
[submodule "lib/pffft"]
|
||||
path = lib/pffft
|
||||
url = https://bitbucket.org/jpommier/pffft.git
|
||||
url = https://github.com/marton78/pffft.git
|
||||
|
|
|
@ -34,17 +34,25 @@ endif()
|
|||
|
||||
|
||||
|
||||
|
||||
option(USE_TYPE_DOUBLE "" OFF)
|
||||
option(USE_SIMD "" ON)
|
||||
option(USE_FFTPACK "" OFF)
|
||||
option(USE_BENCH_POCKET "" OFF)
|
||||
option(USE_BENCH_KISS "" OFF)
|
||||
option(USE_BENCH_GREEN "" OFF)
|
||||
add_definitions(-DGABORATOR_USE_PFFFT)
|
||||
|
||||
include_directories(include)
|
||||
include_directories(lib/gaborator)
|
||||
include_directories(lib/pffft)
|
||||
|
||||
add_subdirectory(lib/pffft EXCLUDE_FROM_ALL)
|
||||
|
||||
add_executable(test test.cpp)
|
||||
add_library(cgaborator SHARED cgaborator.cpp lib/pffft/pffft.c lib/pffft/fftpack.c)
|
||||
add_library(cgaborator SHARED cgaborator.cpp)
|
||||
set_target_properties(cgaborator PROPERTIES PUBLIC_HEADER "include/cgaborator.h")
|
||||
|
||||
target_link_libraries(cgaborator PFFFT)
|
||||
target_link_libraries(test cgaborator)
|
||||
add_test(test test)
|
||||
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 988259a41d1522047a9420e6265a6ba8289c1654
|
||||
Subproject commit 9603871ac44b6f782e9666a968d25977f7124e39
|
Loading…
Reference in a new issue