Commit 87f60c16 authored by saubatn's avatar saubatn
Browse files

FIXED (tentative) Compilation of too big .obj file with MinGW

git-svn-id: svn+ssh://scm.forge.imag.fr/var/lib/gforge/chroot/scmrepos/svn/camitk/trunk/camitk@1022 ec899d31-69d1-42ba-9299-647d76f65fb3
parent e627c5a6
if (WIN32)
if(CMAKE_CL_64)
# for 64 bits platform, enable big obj (.o) handling, in ordere to correctly compile this (heavy) project
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}/bigobj")
if (MSVC)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}/bigobj")
elseif(MINGW)
set(CMAKE_CXX_FLAGS "-O3 -finline-functions")
endif()
endif()
endif()
......@@ -11,4 +15,3 @@ camitk_extension( ACTION_EXTENSION
DESCRIPTION "This action features basic ITK image processing filters"
)
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment