Lines Matching +full:- +full:dcmake_install_prefix
8 set(${out_var} "$(MAKE)" "-C" "${BINARY_DIR}" "${target}" PARENT_SCOPE)
10 set(${out_var} ${CMAKE_COMMAND} --build ${bin_dir} --target ${target}
11 --config $<CONFIGURATION> PARENT_SCOPE)
17 # Use just-built tools (see TOOLCHAIN_TOOLS)
23 # Always clean the sub-project before building
53 set(ARG_RUNTIME_LIBRARIES compiler-rt libcxx)
66 if(FOUND_CLANG GREATER -1)
74 set(STAMP_DIR ${CMAKE_CURRENT_BINARY_DIR}/${name}-stamps/)
75 set(BINARY_DIR ${CMAKE_CURRENT_BINARY_DIR}/${name}-bins/)
77 add_custom_target(${name}-clear
78 COMMAND ${CMAKE_COMMAND} -E remove_directory ${BINARY_DIR}
79 COMMAND ${CMAKE_COMMAND} -E remove_directory ${STAMP_DIR}
93 -D${variableName}=${value})
100 set(compiler_args -DCMAKE_C_COMPILER=${LLVM_RUNTIME_OUTPUT_INTDIR}/clang
101 -DCMAKE_CXX_COMPILER=${LLVM_RUNTIME_OUTPUT_INTDIR}/clang++)
107 OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/${name}-clobber-stamp
109 COMMAND ${CMAKE_COMMAND} -E touch ${BINARY_DIR}/CMakeCache.txt
110 COMMAND ${CMAKE_COMMAND} -E touch ${STAMP_DIR}/${name}-mkdir
111 COMMAND ${CMAKE_COMMAND} -E touch ${CMAKE_CURRENT_BINARY_DIR}/${name}-clobber-stamp
115 add_custom_target(${name}-clobber
116 DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/${name}-clobber-stamp)
124 ${name}-clobber
132 -DCMAKE_INSTALL_PREFIX=${CMAKE_INSTALL_PREFIX}
133 -DLLVM_BINARY_DIR=${PROJECT_BINARY_DIR}
134 -DLLVM_CONFIG_PATH=$<TARGET_FILE:llvm-config>
135 -DLLVM_ENABLE_WERROR=${LLVM_ENABLE_WERROR}
136 -DPACKAGE_VERSION=${PACKAGE_VERSION}
137 -DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE}
138 -DCMAKE_MAKE_PROGRAM=${CMAKE_MAKE_PROGRAM}
166 add_dependencies(${name}-clean ${name}-clobber)
167 set_target_properties(${name}-clean PROPERTIES
168 SOURCES ${CMAKE_CURRENT_BINARY_DIR}/${name}-clobber-stamp)
172 …ll(CODE "execute_process\(COMMAND \${CMAKE_COMMAND} -DCMAKE_INSTALL_PREFIX=\${CMAKE_INSTALL_PREFIX…
175 add_custom_target(install-${name}
178 -DCMAKE_INSTALL_COMPONENT=${name}
179 -P "${CMAKE_BINARY_DIR}/cmake_install.cmake"
183 # Add top-level targets
188 DEPENDS ${name}-configure