Lines Matching +full:release +full:- +full:doxygen
43 # https://github.com/llvm/llvm-project/pull/104706#issuecomment-2297109613
65 if( CMAKE_SYSTEM MATCHES "FreeBSD-9.2-RELEASE" AND
70 # Do checks with _XOPEN_SOURCE and large-file API on AIX, because we will build
73 list(APPEND CMAKE_REQUIRED_DEFINITIONS "-D_XOPEN_SOURCE=700")
74 list(APPEND CMAKE_REQUIRED_DEFINITIONS "-D_LARGE_FILE_API")
80 list(APPEND CMAKE_REQUIRED_DEFINITIONS "-D_FILE_OFFSET_BITS=64")
84 # Usually those are set by the use of -std=gnuXX, but one can also use the
85 # newer functions with -std=c(++)XX, i.e. without the GNU language extensions.
91 list(APPEND CMAKE_REQUIRED_DEFINITIONS "-D_GNU_SOURCE")
96 list(APPEND CMAKE_REQUIRED_DEFINITIONS "-D_FILE_OFFSET_BITS=64")
157 # have it reported as '-l<lib>' instead of '-pthread'.
158 # TODO: switch to -pthread once the rest of the build system can deal with it.
172 # Check if zlib we found is usable; for example, we may have found a 32-bit
173 # library on a 64-bit system which would result in a link-time failure.
208 # Check if libxml2 we found is usable; for example, we may have found a 32-bit
209 # library on a 64-bit system which would result in a link-time failure.
230 # Check if curl we found is usable; for example, we may have found a 32-bit
231 # library on a 64-bit system which would result in a link-time failure.
257 message(FATAL_ERROR "Failed to configure cpp-httplib")
305 check_c_compiler_flag("-Werror=unguarded-availability-new" "C_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW")
307 set(CMAKE_REQUIRED_FLAGS "${CMAKE_REQUIRED_FLAGS} -Werror=unguarded-availability-new")
440 set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -fno-pie")
459 # Disable all -Wuninitialized warning for old GCC versions.
484 string(REGEX MATCH "^[^-]*" LLVM_NATIVE_ARCH ${LLVM_HOST_TRIPLE})
487 if (LLVM_NATIVE_ARCH MATCHES "i[2-6]86")
571 # Allow setting clang-cl's /winsysroot flag.
573 "If set, argument to clang-cl's /winsysroot")
590 # uninstall VS 2012 and then re-install VS 2013.
601 message(FATAL_ERROR "DIA SDK not found. If you have both VS 2012 and 2013 installed, you may need to uninstall the former and re-install the latter afterwards.")
621 message(STATUS "Doxygen enabled.")
622 find_package(Doxygen REQUIRED)
625 # If we find doxygen and we want to enable doxygen by default create a
626 # global aggregate doxygen target for generating llvm and any/all
627 # subprojects doxygen documentation.
629 add_custom_target(doxygen ALL)
632 option(LLVM_DOXYGEN_EXTERNAL_SEARCH "Enable doxygen external search." OFF)
635 set(LLVM_DOXYGEN_SEARCH_MAPPINGS "" CACHE STRING "Doxygen Search Mappings")
639 message(STATUS "Doxygen disabled.")
642 find_program(GOLD_EXECUTABLE NAMES ${LLVM_DEFAULT_TARGET_TRIPLE}-ld.gold ld.gold ${LLVM_DEFAULT_TARGET_TRIPLE}-ld ld DOC "The gold linker")
644 "PATH to binutils/include containing plugin-api.h for gold plugin.")
647 execute_process(COMMAND ${CMAKE_MAKE_PROGRAM} --version
666 # First, check if there's ld-classic, which is ld64 in newer SDKs.
668 execute_process(COMMAND ${CMAKE_XCRUN} -find ld-classic
672 find_program(LD64_EXECUTABLE NAMES ld-classic DOC "The ld64 linker")
678 execute_process(COMMAND ${CMAKE_XCRUN} -find ld
689 message(STATUS "Found ld64 - ${LD64_EXECUTABLE}")
731 execute_process(COMMAND "${Python3_EXECUTABLE}" "-c" "import ${module}"