[cfe-commits] r124974 - /cfe/trunk/tools/driver/CMakeLists.txt
Oscar Fuentes
ofv at wanadoo.es
Sat Feb 5 13:37:38 PST 2011
Author: ofv
Date: Sat Feb 5 15:37:37 2011
New Revision: 124974
URL: http://llvm.org/viewvc/llvm-project?rev=124974&view=rev
Log:
Remove the clang++ symlink with `make clean'.
Modified:
cfe/trunk/tools/driver/CMakeLists.txt
Modified: cfe/trunk/tools/driver/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/driver/CMakeLists.txt?rev=124974&r1=124973&r2=124974&view=diff
==============================================================================
--- cfe/trunk/tools/driver/CMakeLists.txt (original)
+++ cfe/trunk/tools/driver/CMakeLists.txt Sat Feb 5 15:37:37 2011
@@ -41,11 +41,14 @@
endif()
# 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})
install(TARGETS clang
RUNTIME DESTINATION bin)
More information about the cfe-commits
mailing list