llvm.org GIT mirror llvm / 9b44226
Document the LINK_COMPONENTS and NO_INSTALL variables. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33969 91177308-0d34-0410-b5e6-96231b3b80d8 Reid Spencer 12 years ago
1 changed file(s) with 15 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
682682
LIBRARYNAME
683683
Specify the name of the library to be built. (Required For
684684 Libraries)
685
LINK_COMPONENTS
686
When specified for building a tool, the value of this variable will be
687 passed to the llvm-config tool to generate a link line for the
688 tool. Unlike USEDLIBS and LLVMLIBS, not all libraries need
689 to be specified. The llvm-config tool will figure out the library
690 dependencies and add any libraries that are needed. The USEDLIBS
691 variable can still be used in conjunction with LINK_COMPONENTS so
692 that additional project-specific libraries can be linked with the LLVM
693 libraries specified by LINK_COMPONENTS
685694
LINK_LIBS_IN_SHARED
686695
By default, shared library linking will ignore any libraries specified
687696 with the LLVMLIBS or USEDLIBS.
703712 module can be specified in conjunction with other kinds of library builds
704713 or by itself. It constructs from the sources a single linked bytecode
705714 file.
715
NO_INSTALL
716
Specifies that the build products of the directory should not be
717 installed but should be built even if the install target is given.
718 This is handy for directories that build libraries or tools that are only
719 used as part of the build process, such as code generators (e.g.
720 tblgen).
706721
OPTIONAL_DIRS
707722
Specify a set of directories that may be built, if they exist, but its
708723 not an error for them not to exist.