CMakeLists.txt 1.12 KB
Newer Older
1
if (WIN32)
2
3
4
    if(CMAKE_CL_64)
        # for 64 bits platform, enable big obj (.o) handling, in ordere to correctly compile this (heavy) project
        if (MSVC)
5
6
7
8
            set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}/bigobj")
            elseif(MINGW)
                set(CMAKE_CXX_FLAGS "-O3 -finline-functions")
            endif()
9
    endif()
10
11
endif()

12
camitk_extension(   ACTION_EXTENSION
saubatn's avatar
saubatn committed
13
                    NEEDS_ITK
14
                    CXX_FLAGS "-w"
saubatn's avatar
saubatn committed
15
16
                    CEP_NAME CEP_IMAGING
                    DESCRIPTION "This action features basic ITK image processing filters"
17
                    TEST_APPLICATION ${APPLICATION_TEST_ACTION}
18
                    TEST_FILES bassin.msh BigEndian.hdr BigEndian.img BigEndianCompressed1.hdr BigEndianCompressed1.img brain.mha diaphragm.pml head1.STL LittleEndian1.hdr LittleEndian1.img LittleEndianCompressed1.hdr LittleEndianCompressed1.img LittleEndianZ1.hdr liver-smooth.obj Mesh.off mini-ten-nomask-slow1.nrrd mini-vector-slow1.nrrd mixed_3D_beam.msh ramp1.gipl robot.wrl scissors.obj simple.vtk sinus_skin.vtk sinus_skull.vtk skull1.stl structured.vtk testrgba.nrrd truthcube.pml
19
)
lealv's avatar
lealv committed
20

lealv's avatar
lealv committed
21