From: Oscar Fuentes Date: Sun, 10 Apr 2011 02:29:27 +0000 (+0000) Subject: libclang output name is now libclang. This solves a name collision X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4656b63243d926910b6f6507527114ab5306a954;p=clang libclang output name is now libclang. This solves a name collision when building with Visual Studio. `clang.dll' and `clang.exe' would have the same `clang.ilk' and `clang.pdb'. On a serial build those files would be overwritten as clang.exe/clang.dll are created. On a parallel build there is a risk of both files being written at the same time. On that case VS fails. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@129239 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/tools/libclang/CMakeLists.txt b/tools/libclang/CMakeLists.txt index 44ac38ff1a..7a6270d176 100644 --- a/tools/libclang/CMakeLists.txt +++ b/tools/libclang/CMakeLists.txt @@ -33,7 +33,7 @@ if( LLVM_ENABLE_PIC ) set_target_properties(libclang PROPERTIES - OUTPUT_NAME "clang" + OUTPUT_NAME "libclang" VERSION ${LIBCLANG_LIBRARY_VERSION} DEFINE_SYMBOL _CINDEX_LIB_) @@ -64,5 +64,5 @@ if( NOT BUILD_SHARED_LIBS AND NOT WIN32 ) set_target_properties(${LIBCLANG_STATIC_TARGET_NAME} PROPERTIES - OUTPUT_NAME "clang") + OUTPUT_NAME "libclang") endif()