# GMM (C) 2018 Stephane Charette <stephanecharette@gmail.com>
# $Id: CM_definitions.cmake 2601 2018-09-15 20:40:24Z stephane $


SET ( CMAKE_CXX_STANDARD 11 )
SET ( CMAKE_CXX_STANDARD_REQUIRED ON )


IF ( UNIX )
	ADD_DEFINITIONS ( "-Wall" ) # -Wextra -Werror -Wno-unused-parameter" )
ELSE ()
	ADD_DEFINITIONS ( "/W3 /wd4005 /wd4100 /wd4127 /wd4714 /wd4510 /wd4610 /wd4996 /wd4458 /wd4459 /wd4267 /nologo" )
ENDIF ()

