summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/install.doc21
1 files changed, 21 insertions, 0 deletions
diff --git a/doc/install.doc b/doc/install.doc
index e6fd633..18ea44e 100644
--- a/doc/install.doc
+++ b/doc/install.doc
@@ -116,6 +116,27 @@ Compilation is now done by performing the following steps:
documentation (just point a HTML browser to the file
<code>index.html</code> in the html directory).
+<li>Optional: static linking
+
+ If you want to build a statically linked version of doxygen that embeds libclang
+ you need to first build LLVM and clang from sources using the following options:
+
+ cmake -DLIBCLANG_BUILD_STATIC=ON \
+ -DBUILD_SHARED_LIBS=OFF \
+ -DLLVM_ENABLE_PIC=OFF \
+ -DLLVM_BUILD_LLVM_DYLIB=OFF \
+ -DLLVM_BUILD_LLVM_C_DYLIB=OFF \
+ -DLLVM_ENABLE_TERMINFO=OFF \
+ path_to_llvm_root_source_dir
+
+ and then build doxygen with these options:
+
+ cmake -DCMAKE_BUILD_TYPE=Release \
+ "-DCMAKE_FIND_LIBRARY_SUFFIXES=.a" \
+ "-ldl;-lz;-lpthread" \
+ -Duse_libclang=YES \
+ path_to_doxygen_root_source_dir
+
</ol>
\section install_bin_unix Installing the binaries on UNIX