Commit e3ad9156 authored by Emmanuel Christophe's avatar Emmanuel Christophe
Browse files

MRG

parents e6ff46b9 93f51a97
......@@ -20,6 +20,20 @@ SET(CPPFILES
widget_panel.cxx
)
IF(CMAKE_COMPILER_IS_GNUCXX)
FOREACH(f ${CPPFILES} )
SET_SOURCE_FILES_PROPERTIES( ${f} PROPERTIES COMPILE_FLAGS -w )
ENDFOREACH(f)
ELSE(CMAKE_COMPILER_IS_GNUCXX)
IF(WIN32)
IF (CMAKE_CXX_COMPILER MATCHES "^cl$")
FOREACH(f ${CPPFILES} )
SET_SOURCE_FILES_PROPERTIES( ${f} PROPERTIES COMPILE_FLAGS "/W0" )
ENDFOREACH(f)
ENDIF (CMAKE_CXX_COMPILER MATCHES "^cl$")
ENDIF(WIN32)
ENDIF(CMAKE_COMPILER_IS_GNUCXX)
ADD_EXECUTABLE(fluid ${CPPFILES})
INSTALL_TARGETS(/bin fluid)
......
Markdown is supported
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