diff options
| author | Oscar Fuentes <ofv@wanadoo.es> | 2011-04-10 02:29:27 +0000 |
|---|---|---|
| committer | Oscar Fuentes <ofv@wanadoo.es> | 2011-04-10 02:29:27 +0000 |
| commit | 87eb515abaed41e915294e37b46670a50583a80c (patch) | |
| tree | 1a024d40aaf42c73dcd9eddc7e85e69cb660d2bb | |
| parent | fe40844fb60cca8dd4c431fed4866217dd674a5b (diff) | |
| download | bcm5719-llvm-87eb515abaed41e915294e37b46670a50583a80c.tar.gz bcm5719-llvm-87eb515abaed41e915294e37b46670a50583a80c.zip | |
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.
llvm-svn: 129239
| -rw-r--r-- | clang/tools/libclang/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/tools/libclang/CMakeLists.txt b/clang/tools/libclang/CMakeLists.txt index 44ac38ff1a2..7a6270d1764 100644 --- a/clang/tools/libclang/CMakeLists.txt +++ b/clang/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() |

