# Call CamiTK CMake Macro to define the action

camitk_extension(   ACTION_EXTENSION
                    NEEDS_COMPONENT_EXTENSION vtkmesh
                    TEST_APPLICATION ${APPLICATION_TEST_ACTION}
                    TEST_FILES bassin.msh diaphragm.pml head1.STL liver-smooth.obj Mesh.off mixed_3D_beam.msh robot.wrl scissors.obj simple.vtk sinus_skin.vtk sinus_skull.vtk skull1.stl structured.vtk testrgba.nrrd truthcube.pml
                    CEP_NAME SDK
                    DESCRIPTION "Allows one to reorient a volumic image."
                )

# As the Reorient image action, when applied, needs its dialog box initialized, it cannot
# pass this test. 
# Remove when action reorient image has been updated consequently
if(NOT PACKAGING_NSIS)
    set_tests_properties("action-reorientimage-LEVEL1-15" PROPERTIES WILL_FAIL true)
endif()