Compare commits
	
		
			2 Commits
		
	
	
		
			baa57922b4
			...
			ffa6262670
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| ffa6262670 | |||
| 7a6c8e4a30 | 
@@ -18,6 +18,7 @@ macro(CHECK_ENABLE_CXX_FLAG flag)
 | 
				
			|||||||
endmacro()
 | 
					endmacro()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
macro(CHECK_ENABLE_DEBUG_CXX_FLAG flag)
 | 
					macro(CHECK_ENABLE_DEBUG_CXX_FLAG flag)
 | 
				
			||||||
 | 
					  if(CMAKE_BUILD_TYPE STREQUAL "Debug")
 | 
				
			||||||
    set(CMAKE_REQUIRED_QUIET TRUE)
 | 
					    set(CMAKE_REQUIRED_QUIET TRUE)
 | 
				
			||||||
    check_cxx_compiler_flag("${flag}" CHECK_CXX_FLAG_DEBUG)
 | 
					    check_cxx_compiler_flag("${flag}" CHECK_CXX_FLAG_DEBUG)
 | 
				
			||||||
    unset(CMAKE_REQUIRED_QUIET)
 | 
					    unset(CMAKE_REQUIRED_QUIET)
 | 
				
			||||||
@@ -30,6 +31,7 @@ macro(CHECK_ENABLE_DEBUG_CXX_FLAG flag)
 | 
				
			|||||||
    endif()
 | 
					    endif()
 | 
				
			||||||
    # NOTE: check_cxx_compiler stores variables in the cache.
 | 
					    # NOTE: check_cxx_compiler stores variables in the cache.
 | 
				
			||||||
    unset(CHECK_CXX_FLAG_DEBUG CACHE)
 | 
					    unset(CHECK_CXX_FLAG_DEBUG CACHE)
 | 
				
			||||||
 | 
					  endif()
 | 
				
			||||||
endmacro()
 | 
					endmacro()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
function(cmlib_set_cxx_standard version)
 | 
					function(cmlib_set_cxx_standard version)
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -68,8 +68,10 @@ function(add_breathe_target target)
 | 
				
			|||||||
                                                              ${RST_FILES} ${WORK_DIR})
 | 
					                                                              ${RST_FILES} ${WORK_DIR})
 | 
				
			||||||
      endif()
 | 
					      endif()
 | 
				
			||||||
    endif()
 | 
					    endif()
 | 
				
			||||||
    install(DIRECTORY ${CMAKE_BINARY_DIR}/doc/breathe/
 | 
					    install(
 | 
				
			||||||
            COMPONENT doc OPTIONAL
 | 
					      DIRECTORY ${CMAKE_BINARY_DIR}/doc/breathe/
 | 
				
			||||||
 | 
					      COMPONENT doc
 | 
				
			||||||
 | 
					      OPTIONAL
 | 
				
			||||||
      DESTINATION ${CMAKE_INSTALL_DATADIR}/doc/breathe)
 | 
					      DESTINATION ${CMAKE_INSTALL_DATADIR}/doc/breathe)
 | 
				
			||||||
  else()
 | 
					  else()
 | 
				
			||||||
    message(STATUS "CMLIB warning:")
 | 
					    message(STATUS "CMLIB warning:")
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -35,8 +35,10 @@ function(add_doxygen_target target)
 | 
				
			|||||||
      COMMAND ${DOXYGEN_EXECUTABLE} ${work_dir}/Doxyfile
 | 
					      COMMAND ${DOXYGEN_EXECUTABLE} ${work_dir}/Doxyfile
 | 
				
			||||||
      WORKING_DIRECTORY ${work_dir}
 | 
					      WORKING_DIRECTORY ${work_dir}
 | 
				
			||||||
      COMMENT "Generating API documentation with Doxygen")
 | 
					      COMMENT "Generating API documentation with Doxygen")
 | 
				
			||||||
    install(DIRECTORY ${CMAKE_BINARY_DIR}/doc/doxygen/html/
 | 
					    install(
 | 
				
			||||||
            COMPONENT doc OPTIONAL
 | 
					      DIRECTORY ${CMAKE_BINARY_DIR}/doc/doxygen/html/
 | 
				
			||||||
 | 
					      COMPONENT doc
 | 
				
			||||||
 | 
					      OPTIONAL
 | 
				
			||||||
      DESTINATION ${CMAKE_INSTALL_DATADIR}/doc/doxygen)
 | 
					      DESTINATION ${CMAKE_INSTALL_DATADIR}/doc/doxygen)
 | 
				
			||||||
  else()
 | 
					  else()
 | 
				
			||||||
    message(STATUS "CMLIB warning:")
 | 
					    message(STATUS "CMLIB warning:")
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user