diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2019-02-04 19:45:46 (GMT) |
---|---|---|
committer | Dimitri van Heesch <doxygen@gmail.com> | 2019-02-04 19:45:46 (GMT) |
commit | 05ac75efb2d4467214acc350ada97da86504e333 (patch) | |
tree | 680487d166e2113a4c09c65e99e26d08c3e6ba8f /doc/install.doc | |
parent | 8a31e77445a94277151666380860defedcc3838d (diff) | |
download | Doxygen-05ac75efb2d4467214acc350ada97da86504e333.zip Doxygen-05ac75efb2d4467214acc350ada97da86504e333.tar.gz Doxygen-05ac75efb2d4467214acc350ada97da86504e333.tar.bz2 |
Added instructions to build a statically linked doxygen binary from sources
Diffstat (limited to 'doc/install.doc')
-rw-r--r-- | doc/install.doc | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/doc/install.doc b/doc/install.doc index d64b259..b2570d1 100644 --- a/doc/install.doc +++ b/doc/install.doc @@ -116,6 +116,26 @@ 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 \ + 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;-lncurses;-lpthread" \ + -Duse_libclang=YES \ + path_to_doxygen_root_source_dir + </ol> \section install_bin_unix Installing the binaries on UNIX |