Document the LLVM_BUILD_LLVM_DYLIB and LLVM_LINK_LLVM_DYLIB
CMake options, move BUILD_SHARED_LIBS out of frequently-used,
and add a note/warning to BUILD_SHARED_LIBS.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Looks like this got merged before I was able to comment on this.
docs/CMake.rst | ||
---|---|---|
443 | I would consider expanding a little If enabled, the target for building the libLLVM shared library is added. This library contains all of LLVM's components in a single shared library. Defaults to OFF. This cannot be used in conjunction with BUILD_SHARED_LIBS=ON. Tools will only be linked to the libLLVM shared library if LLVM_LINK_LLVM_DYLIB is also ON. The components in the library can be customised by setting LLVM_DYLIB_COMPONENTS to a list of the desired components. | |
454 | I would consider rewording to Flag indicating if each LLVM component (e.g. Support) is built as a shared library (ON) or as a static library (OFF). Its default value is OFF. On Windows, shared libraries may be used when building with MinGW, including mingw-w64, but not when building with the Microsoft toolchain. |
Comment Actions
Sorry, I probably should have left it open a bit longer. Your suggestions read well, I'll commit them early next week.
I would consider expanding a little