[PATCH] Adding llvm-shlib to CMake build system with a few new bells and whistles

Chris Bieneman beanz at apple.com
Thu Nov 6 12:00:02 PST 2014


I'm not particularly attached to any specific naming. The problem however is that all three major OS types have different nomenclature for the same construct. On Linux they are shared objects (so), on Windows they are dynamically linked libraries (dll), and on Darwin things are even more confusing because they are referred to in documentation as shared libraries, but the extension is dylib which refers to the dynamic linking aspect.

That said, I do see your point that dylib does sound awfully "Darwin". An alternative naming could be LLVM_BUILD_LLVM_SHLIB, which would more clearly map to the llvm-shlib "tool" which generates the library.

REPOSITORY
  rL LLVM

http://reviews.llvm.org/D5890






More information about the llvm-commits mailing list