Skip to content
Snippets Groups Projects
Commit a55b12a4 authored by Thomas Feuvrier's avatar Thomas Feuvrier
Browse files

MAJ : Ajout OSSIMMAKINGDLL uniquement pour MINGW => A tester !

parent eabb73dc
No related branches found
No related tags found
No related merge requests found
......@@ -10,13 +10,16 @@ CHECK_INCLUDE_FILE("malloc.h" CMAKE_HAVE_MALLOC_H)
CHECK_INCLUDE_FILE("dlfcn.h" CMAKE_HAVE_DLFCN_H)
# Cf OSSIM configurations : "nmake.opt" for Visual and "configure" for MinGW (and normaly Cygwin)
# For MinGW platforms
IF(MINGW)
IF(BUILD_SHARED_LIBS)
ADD_DEFINITIONS(-DOSSIMMAKINGDLL)
ENDIF(BUILD_SHARED_LIBS)
ENDIF(MINGW)
IF(WIN32)
IF(NOT BORLAND)
IF(NOT CYGWIN)
# For MinGW and Visual platforms
IF(BUILD_SHARED_LIBS)
ADD_DEFINITIONS(-DOSSIMMAKINGDLL)
ENDIF(BUILD_SHARED_LIBS)
# For Visual
IF(NOT MINGW)
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /nologo /EHsc ")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment