Lines Matching defs:target
7 function(set_target_compile_flags target)
8 set_property(TARGET ${target} PROPERTY COMPILE_OPTIONS ${ARGN})
11 function(set_target_link_flags target)
12 set_property(TARGET ${target} PROPERTY LINK_OPTIONS ${ARGN})
105 # test_target_arch(<arch> <def> <target flags...>)
110 # If successful, saves target flags for this architecture.
143 # Bail out if we cannot target the architecture we plan to test.
368 message(FATAL_ERROR "COMPILER_RT_DEFAULT_TARGET_TRIPLE isn't supported when building for default target only")
373 message(STATUS "cmake c compiler target: ${CMAKE_C_COMPILER_TARGET}")
385 set(print_target_triple ${CMAKE_C_COMPILER} ${option_prefix}--target=${COMPILER_RT_DEFAULT_TARGET_TRIPLE} ${option_prefix}-print-target-triple)
395 message(WARNING "Failed to execute `${print_target_triple}` to normalize target triple.")
424 # Determine if test target triple is specified explicitly, and doesn't match the
464 # Use exact spelling when building only for the target specified to CMake.
465 set(target "${COMPILER_RT_DEFAULT_TARGET_TRIPLE}")
467 set(target "i686${triple_suffix}")
469 set(target "x86_64${triple_suffix}")
471 set(target "sparcv9${triple_suffix}")
477 set(target "${triple_cpu_mips}${triple_suffix_gnu}")
482 set(target "${triple_cpu_mips}${triple_suffix_gnu}")
501 set(target "${arch}${triple_suffix}")
503 set(target "amdgcn-amd-amdhsa")
505 set(target "nvptx64-nvidia-cuda")
507 set(target "${arch}${triple_suffix}")
509 set(${variable} ${target} PARENT_SCOPE)
514 get_compiler_rt_target(${arch} target)
515 set(${install_dir} ${COMPILER_RT_INSTALL_LIBRARY_DIR}/${target} PARENT_SCOPE)
523 get_compiler_rt_target(${arch} target)
524 set(${output_dir} ${COMPILER_RT_OUTPUT_LIBRARY_DIR}/${target} PARENT_SCOPE)
571 # The parent install target specifies the parent component to scrape up
607 # If you have a parent target specified, we bind the new install target
608 # to the parent install target.