File: itk-module.cmake

package info (click to toggle)
insighttoolkit5 5.4.3-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 704,384 kB
  • sloc: cpp: 783,592; ansic: 628,724; xml: 44,704; fortran: 34,250; python: 22,874; sh: 4,078; pascal: 2,636; lisp: 2,158; makefile: 464; yacc: 328; asm: 205; perl: 203; lex: 146; tcl: 132; javascript: 98; csh: 81
file content (29 lines) | stat: -rw-r--r-- 786 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
set(DOCUMENTATION
    "This module provides interfaces to FFT
implementations. In particular it provides the direct and inverse
computations of Fast Fourier Transforms based on
<a href=\"http://vxl.sourceforge.net/\">VXL</a> and
<a href=\"https://www.fftw.org\">FFTW</a>. Note that when using the FFTW
implementation you must comply with the GPL license.")

set(_fft_backends "FFTImageFilterInit::Vnl")
if(ITK_USE_FFTWF OR ITK_USE_FFTWD)
  # Prepend so that FFTW constructor is preferred
  list(PREPEND _fft_backends "FFTImageFilterInit::FFTW")
endif()

itk_module(
  ITKFFT
  ENABLE_SHARED
  DEPENDS
  ITKCommon
  COMPILE_DEPENDS
  ITKImageGrid
  TEST_DEPENDS
  ITKTestKernel
  ITKImageCompare
  ITKImageIntensity
  FACTORY_NAMES
  ${_fft_backends}
  DESCRIPTION
  "${DOCUMENTATION}")