-
Notifications
You must be signed in to change notification settings - Fork 69
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
48 lines (38 loc) · 1.37 KB
/
CMakeLists.txt
File metadata and controls
48 lines (38 loc) · 1.37 KB
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
add_example( ReadAnImage )
add_example( WriteAnImage )
add_example( CreateAListOfFileNames )
add_example( ConvertFileFormats )
compare_to_baseline( EXAMPLE_NAME ConvertFileFormats BASELINE_PREFIX OutputBaseline )
add_example( ReadUnknownImageType )
# IO Factories
get_property( _compile_defs DIRECTORY PROPERTY COMPILE_DEFINITIONS )
list( REMOVE_ITEM _compile_defs ITK_IO_FACTORY_REGISTER_MANAGER )
set_property( DIRECTORY PROPERTY COMPILE_DEFINITIONS ${_compile_defs} )
add_example( RegisterIOFactories )
add_example( GenerateSlicesFromVolume )
compare_to_baseline( TEST_NAME GenerateSlicesFromVolumeBaselineComparisonSlice20
EXAMPLE_NAME GenerateSlicesFromVolume
BASELINE_PREFIX Output-20Baseline
)
compare_to_baseline( TEST_NAME GenerateSlicesFromVolumeBaselineComparisonSlice30
EXAMPLE_NAME GenerateSlicesFromVolume
BASELINE_PREFIX Output-30Baseline
)
add_example( ProcessImageChunks )
compare_to_baseline(
EXAMPLE_NAME ProcessImageChunks
BASELINE_PREFIX OutputBaseline
TEST_IMAGE Output.mha
)
add_example(ConvertImageToAnotherType)
add_example( ReadWriteAnRGBImage )
compare_to_baseline(
EXAMPLE_NAME ReadWriteAnRGBImage
BASELINE_PREFIX OutputBaseline
TEST_IMAGE Output.png
)
#TODO: When example has valid input, uncomment below
#add_example(Create3DFromSeriesOf2D)
#compare_to_baseline(EXAMPLE_NAME Create3DFromSeriesOf2D
# BASELINE_PREFIX OutputBaseline
# )