File: CMakeLists.txt

package info (click to toggle)
insighttoolkit4 4.13.3withdata-dfsg2-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 491,256 kB
  • sloc: cpp: 557,600; ansic: 180,546; fortran: 34,788; python: 16,572; sh: 2,187; lisp: 2,070; tcl: 993; java: 362; perl: 200; makefile: 133; csh: 81; pascal: 69; xml: 19; ruby: 10
file content (53 lines) | stat: -rw-r--r-- 1,891 bytes parent folder | download | duplicates (6)
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
itk_module_test()
set(ITKVideoIOTests
  itkVideoFileReaderWriterTest.cxx
  itkFileListVideoIOTest.cxx
  itkFileListVideoIOFactoryTest.cxx
)

CreateTestDriver(ITKVideoIO
  "${ITKVideoIO-Test_LIBRARIES}"
  "${ITKVideoIOTests}"
)

# VideoFileRederWriterTest:
itk_add_test(
  NAME VideoFileReaderWriterTest
  COMMAND ITKVideoIOTestDriver
    itkVideoFileReaderWriterTest
      DATA{Input/frame0.jpg}
      DATA{Input/frame1.jpg}
      DATA{Input/frame2.jpg}
      DATA{Input/frame3.jpg}
      DATA{Input/frame4.jpg}
      "${ITK_TEST_OUTPUT_DIR}/frame0.png,${ITK_TEST_OUTPUT_DIR}/frame1.png,${ITK_TEST_OUTPUT_DIR}/frame2.png,${ITK_TEST_OUTPUT_DIR}/frame3.png,${ITK_TEST_OUTPUT_DIR}/frame4.png"
    )


# FileListVideoIO:
itk_add_test(
  NAME FileListVideoIOTest
  COMMAND ITKVideoIOTestDriver
    itkFileListVideoIOTest
      DATA{Input/frame0.jpg}
      DATA{Input/frame1.jpg}
      DATA{Input/frame2.jpg}
      DATA{Input/frame3.jpg}
      DATA{Input/frame4.jpg}
      ${ITKVideo_Data_DIR}/Input/TestParameters.txt
      "${ITK_TEST_OUTPUT_DIR}/filelistvideoio_frame0.png,${ITK_TEST_OUTPUT_DIR}/filelistvideoio_frame1.png,${ITK_TEST_OUTPUT_DIR}/filelistvideoio_frame2.png,${ITK_TEST_OUTPUT_DIR}/filelistvideoio_frame3.png,${ITK_TEST_OUTPUT_DIR}/filelistvideoio_frame4.png"
      ${ITK_TEST_OUTPUT_DIR}/FileListVideoIOTest_CameraOut.mha
      320 240 5 1)

# FileListVideoIOFactory:
itk_add_test(
  NAME FileListVideoIOFactoryTest
  COMMAND ITKVideoIOTestDriver
    itkFileListVideoIOFactoryTest
    DATA{Input/frame0.jpg}
    DATA{Input/frame1.jpg}
    DATA{Input/frame2.jpg}
    DATA{Input/frame3.jpg}
    DATA{Input/frame4.jpg}
    "${ITK_TEST_OUTPUT_DIR}/filelistfactory_frame0.png,${ITK_TEST_OUTPUT_DIR}/filelistfactory_frame1.png,${ITK_TEST_OUTPUT_DIR}/filelistfactory_frame2.png,${ITK_TEST_OUTPUT_DIR}/filelistfactory_frame3.png,${ITK_TEST_OUTPUT_DIR}/filelistfactory_frame4.png"
    0)