Skip to content

Commit c09befc

Browse files
committed
STYLE: GeodesicActiveContour CMake style
1 parent 7cf83b2 commit c09befc

File tree

1 file changed

+24
-24
lines changed
  • src/Segmentation/LevelSets/SegmentWithGeodesicActiveContourLevelSet

1 file changed

+24
-24
lines changed

src/Segmentation/LevelSets/SegmentWithGeodesicActiveContourLevelSet/CMakeLists.txt

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,54 +1,54 @@
11
cmake_minimum_required(VERSION 3.10.2)
22

3-
project( SegmentWithGeodesicActiveContourLevelSet )
3+
project(SegmentWithGeodesicActiveContourLevelSet)
44

5-
find_package( ITK REQUIRED )
6-
include( ${ITK_USE_FILE} )
5+
find_package(ITK REQUIRED)
6+
include(${ITK_USE_FILE})
77

8-
add_executable( SegmentWithGeodesicActiveContourLevelSet Code.cxx )
9-
target_link_libraries( SegmentWithGeodesicActiveContourLevelSet ${ITK_LIBRARIES} )
8+
add_executable(SegmentWithGeodesicActiveContourLevelSet Code.cxx)
9+
target_link_libraries(SegmentWithGeodesicActiveContourLevelSet ${ITK_LIBRARIES})
1010

11-
install( TARGETS SegmentWithGeodesicActiveContourLevelSet
11+
install(TARGETS SegmentWithGeodesicActiveContourLevelSet
1212
DESTINATION bin/ITKSphinxExamples/Segmentation/LevelSets
1313
COMPONENT Runtime
1414
)
1515

16-
install( FILES Code.cxx CMakeLists.txt
16+
install(FILES Code.cxx CMakeLists.txt
1717
DESTINATION share/ITKSphinxExamples/Code/Segmentation/LevelSets/SegmentWithGeodesicActiveContourLevelSet
1818
COMPONENT Code
1919
)
2020

2121
enable_testing()
2222

2323
add_test(NAME GeodesicActiveContourLeftVentricleTest
24-
COMMAND ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/SegmentWithGeodesicActiveContourLevelSet
25-
${CMAKE_CURRENT_BINARY_DIR}/BrainProtonDensitySlice.png
26-
Output1.png
27-
81 114 5.0 1.0 -0.5 3.0 2.0 800
24+
COMMAND ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/SegmentWithGeodesicActiveContourLevelSet
25+
${CMAKE_CURRENT_BINARY_DIR}/BrainProtonDensitySlice.png
26+
Output1.png
27+
81 114 5.0 1.0 -0.5 3.0 2.0 800
2828
)
2929

3030
add_test(NAME GeodesicActiveContourRightVentricleTest
31-
COMMAND ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/SegmentWithGeodesicActiveContourLevelSet
32-
${CMAKE_CURRENT_BINARY_DIR}/BrainProtonDensitySlice.png
33-
Output2.png
34-
99 114 5.0 1.0 -0.5 3.0 2.0 800
31+
COMMAND ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/SegmentWithGeodesicActiveContourLevelSet
32+
${CMAKE_CURRENT_BINARY_DIR}/BrainProtonDensitySlice.png
33+
Output2.png
34+
99 114 5.0 1.0 -0.5 3.0 2.0 800
3535
)
3636

3737
add_test(NAME GeodesicActiveContourWhiteMatterTest
38-
COMMAND ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/SegmentWithGeodesicActiveContourLevelSet
39-
${CMAKE_CURRENT_BINARY_DIR}/BrainProtonDensitySlice.png
40-
Output3.png
41-
56 92 5.0 1.0 -0.3 2.0 10.0 800
38+
COMMAND ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/SegmentWithGeodesicActiveContourLevelSet
39+
${CMAKE_CURRENT_BINARY_DIR}/BrainProtonDensitySlice.png
40+
Output3.png
41+
56 92 5.0 1.0 -0.3 2.0 10.0 800
4242
)
4343

4444
add_test(NAME GeodesicActiveContourGrayMatterTest
45-
COMMAND ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/SegmentWithGeodesicActiveContourLevelSet
46-
${CMAKE_CURRENT_BINARY_DIR}/BrainProtonDensitySlice.png
47-
Output4.png
48-
40 90 5.0 .5 -0.3 2.0 10.0 800
45+
COMMAND ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/SegmentWithGeodesicActiveContourLevelSet
46+
${CMAKE_CURRENT_BINARY_DIR}/BrainProtonDensitySlice.png
47+
Output4.png
48+
40 90 5.0 .5 -0.3 2.0 10.0 800
4949
)
5050

51-
if( ITK_WRAP_PYTHON )
51+
if(ITK_WRAP_PYTHON)
5252
add_test(NAME GeodesicActiveContourLeftVentricleTestPython
5353
COMMAND ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/Code.py
5454
${CMAKE_CURRENT_BINARY_DIR}/BrainProtonDensitySlice.png

0 commit comments

Comments
 (0)