]> granicus.if.org Git - llvm/commitdiff
Add information about new CMake interface to LLVM and note
authorDan Liew <dan@su-root.co.uk>
Mon, 28 Jul 2014 14:04:39 +0000 (14:04 +0000)
committerDan Liew <dan@su-root.co.uk>
Mon, 28 Jul 2014 14:04:39 +0000 (14:04 +0000)
deprecation of llvm_map_components_to_libraries()

git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_35@214083 91177308-0d34-0410-b5e6-96231b3b80d8

docs/CMake.rst
docs/ReleaseNotes.rst

index fca02ef889e440024bbb5eb3d0dee4e00a397121..957c5d4bb1c58dc5fe4073fdb8318ecde9296112 100644 (file)
@@ -389,6 +389,8 @@ for a quick solution.
 Also see the `LLVM-specific variables`_ section for variables used when
 cross-compiling.
 
+.. _Embedding LLVM in your project:
+
 Embedding LLVM in your project
 ==============================
 
index 824df043d0e4461ebed2485fc823349101c5394a..a08483b0fc1646bbfce78eca38ab657b6205ab40 100644 (file)
@@ -235,6 +235,16 @@ Changes to CMake build system
   the ``install`` target is invoked then the built documentation will be
   installed.  See :ref:`LLVM-specific variables`.
 
+* Both the Autoconf/Makefile and CMake build systems now generate
+  ``LLVMConfig.cmake`` (and other files) to export installed libraries. This
+  means that projects using CMake to build against LLVM libraries can now build
+  against an installed LLVM built by the Autoconf/Makefile system. See
+  :ref:`Embedding LLVM in your project` for details.
+
+* Use of ``llvm_map_components_to_libraries()`` by external projects is
+  deprecated and the new ``llvm_map_components_to_libnames()`` should be used
+  instead.
+
 External Open Source Projects Using LLVM 3.5
 ============================================