Skip to content

Reply To: External Dependencies Inclusion

Due to recent bot attacks we have changed the sign-up process. If you want to participate in our forum, first register on this website and then send a message via our contact form.

Forums OpenLB Bug Reports External Dependencies Inclusion Reply To: External Dependencies Inclusion

#8678
Adrian
Keymaster

OpenLB is an almost entirely header-only framework due to its heavy use of template metaprogramming. You should be able to include the external dependencies (zlib, tinyxml) straight from Cmake, they only need to be available in the include path and linked.
The biggest issue will be to build the core library (mostly MPI wrappers and some other standard utilities) in CMake.

A student of mine worked on CMake support a couple of months back and did not encounter any issues, the reason why we did not include this work in the release is that it partially duplicated the entire existing build system.