CMakeLists.txt 654 Bytes
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
)
lealv's avatar
lealv committed
19

lealv's avatar
lealv committed
20