2.0.8
This commit is contained in:
		@@ -1,9 +1,9 @@
 | 
			
		||||
include_guard(GLOBAL)
 | 
			
		||||
 | 
			
		||||
option(MYX_CMAKE_WARNINGS_NORMAL "Normal level" ON)
 | 
			
		||||
cmake_dependent_option(MYX_CMAKE_WARNINGS_VERBOSE "Verbose level" OFF "MYX_CMAKE_WARNINGS_NORMAL" OFF)
 | 
			
		||||
option(MYXX_CMAKE_WARNINGS_NORMAL "Normal level" ON)
 | 
			
		||||
cmake_dependent_option(MYXX_CMAKE_WARNINGS_VERBOSE "Verbose level" OFF "MYXX_CMAKE_WARNINGS_NORMAL" OFF)
 | 
			
		||||
 | 
			
		||||
if(MYX_CMAKE_WARNINGS_NORMAL)
 | 
			
		||||
if(MYXX_CMAKE_WARNINGS_NORMAL)
 | 
			
		||||
  if(CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
 | 
			
		||||
    check_enable_cxx_compiler_flag(-Wshadow)
 | 
			
		||||
    check_enable_cxx_compiler_flag(-Wtautological-overlap-compare)
 | 
			
		||||
@@ -39,7 +39,7 @@ if(MYX_CMAKE_WARNINGS_NORMAL)
 | 
			
		||||
    check_enable_cxx_compiler_flag(-Wsuggest-override)
 | 
			
		||||
    check_enable_cxx_compiler_flag(-fdiagnostics-show-template-tree)
 | 
			
		||||
 | 
			
		||||
    if(NOT MYX_CMAKE_WARNINGS_VERBOSE)
 | 
			
		||||
    if(NOT MYXX_CMAKE_WARNINGS_VERBOSE)
 | 
			
		||||
      check_enable_cxx_compiler_flag(-Wno-float-conversion)
 | 
			
		||||
      if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
 | 
			
		||||
        if(CMAKE_CXX_COMPILER_VERSION VERSION_GREATER "5.999")
 | 
			
		||||
@@ -51,7 +51,7 @@ if(MYX_CMAKE_WARNINGS_NORMAL)
 | 
			
		||||
  endif()
 | 
			
		||||
endif()
 | 
			
		||||
 | 
			
		||||
if(MYX_CMAKE_WARNINGS_VERBOSE)
 | 
			
		||||
if(MYXX_CMAKE_WARNINGS_VERBOSE)
 | 
			
		||||
  if(CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
 | 
			
		||||
    check_enable_cxx_compiler_flag(-Wpointer-to-int-cast)
 | 
			
		||||
    check_enable_cxx_compiler_flag(-Wuninitialized-const-reference)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user