[cfe-commits] r124974 - /cfe/trunk/tools/driver/CMakeLists.txt
bruce.r.stephens at gmail.com
bruce.r.stephens at gmail.com
Sun Feb 6 07:10:28 PST 2011
Oscar Fuentes <ofv-39ZsbGIQGT7e5aOfsHch1g at public.gmane.org> writes:
[...]
> # Create the clang++ symlink in the build directory.
> +set(clang_pp "${CLANG_BINARY_DIR}/bin/${CMAKE_CFG_INTDIR}/clang++${CMAKE_EXECUTABLE_SUFFIX}")
> add_custom_target(clang++ ALL
> ${CMAKE_COMMAND} -E ${CLANGXX_LINK_OR_COPY}
> - "${LLVM_BINARY_DIR}/bin/${CMAKE_CFG_INTDIR}/clang${CMAKE_EXECUTABLE_SUFFIX}"
> - "${LLVM_BINARY_DIR}/bin/${CMAKE_CFG_INTDIR}/clang++${CMAKE_EXECUTABLE_SUFFIX}"
> + "${CLANG_BINARY_DIR}/bin/${CMAKE_CFG_INTDIR}/clang${CMAKE_EXECUTABLE_SUFFIX}"
> + "${clang_pp}"
> DEPENDS clang)
> +set_property(DIRECTORY APPEND
> + PROPERTY ADDITIONAL_MAKE_CLEAN_FILES ${clang_pp})
This change also installs into CLANG_BINARY_DIR rather that
LLVM_BINARY_DIR. Is that intentional?
More information about the cfe-commits
mailing list