Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DOC: Clarify that elastix only supports _static_ library builds #5

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 3 additions & 6 deletions manual.tex
Original file line number Diff line number Diff line change
Expand Up @@ -2795,7 +2795,7 @@ \subsection{Using \elastix\ as a library}\label{ssec:dev:library}

\subsubsection{Introduction}

\elastix\ also offers the possibility to be used as dynamic or
\elastix\ also offers the possibility to be used as
static linked library. This offers the possibility to integrate its
functionality in your own software, without having to call the
external \elastix\ executable. The latter namely has the downside
Expand Down Expand Up @@ -2826,12 +2826,9 @@ \subsubsection{Introduction}
\item Using \transformix\ to transform an image.
\end{itemize}

\subsubsection{Building \elastix\ as a static or dynamic library}
\subsubsection{Building \elastix\ as a static library}

To build \elastix\ as a library you have to disable the
\texttt{ELASTIX\_BUILD\_EXECUTABLE} option in CMake. With this
option disabled a build project for a static library will be
created. Note that \elastix\ cannot be built as a dynamic library:
\elastix\ cannot be built as a dynamic library:
The CMake option \texttt{BUILD\_SHARED\_LIBS} should be \texttt{OFF},
when building \elastix.

Expand Down