[cfe-commits] r129239 - /cfe/trunk/tools/libclang/CMakeLists.txt

Oscar Fuentes ofv at wanadoo.es
Sat Apr 9 19:29:27 PDT 2011


Author: ofv
Date: Sat Apr  9 21:29:27 2011
New Revision: 129239

URL: http://llvm.org/viewvc/llvm-project?rev=129239&view=rev
Log:
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.

Modified:
    cfe/trunk/tools/libclang/CMakeLists.txt

Modified: cfe/trunk/tools/libclang/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/libclang/CMakeLists.txt?rev=129239&r1=129238&r2=129239&view=diff
==============================================================================
--- cfe/trunk/tools/libclang/CMakeLists.txt (original)
+++ cfe/trunk/tools/libclang/CMakeLists.txt Sat Apr  9 21:29:27 2011
@@ -33,7 +33,7 @@
 
   set_target_properties(libclang
     PROPERTIES
-    OUTPUT_NAME "clang"
+    OUTPUT_NAME "libclang"
     VERSION ${LIBCLANG_LIBRARY_VERSION}
     DEFINE_SYMBOL _CINDEX_LIB_)
 
@@ -64,5 +64,5 @@
 
   set_target_properties(${LIBCLANG_STATIC_TARGET_NAME}
     PROPERTIES
-    OUTPUT_NAME "clang")
+    OUTPUT_NAME "libclang")
 endif()





More information about the cfe-commits mailing list