Home / Learn / Automating CFD solver and library compilation using CMake

Automating CFD solver and library compilation using CMake


Lecture 1: How to use Makefiles to automate CFD solver compilations

Explore in this article how to leverage Make and Makefiles to automate the compilation of CFD solvers, including issues arising in cross-platform compilation.

Read article

Lecture 2: Introduction to CMake for CFD practitioners

Learn everything you need to know about CMake to develop, compile, and install CFD solvers.

Read article

Lecture 3: Advanced CMake features to power up your CFD development

Learn advanced features of CMake to add some magic to your build scripts, from basic programming to generator expressions, policies, and configuration files.

Read article

Lecture 4: How to compile, install, and use custom libraries with CMake

Become a cross-platform library developer kingpin by learning how to compile, install, and use your own custom CFD libraries with CMake.

Read article

Lecture 5: How to add external libraries into your CFD solver using CMake

Learn 3 methods to add external libraries to your CFD solver: 1) manually, 2) letting CMake manage dependencies, and 3) using a package manager

Read article

Lecture 6: How to automate testing with CMake, CTest, and gtest

Learn how to automate software testing with CMake and CTest, using gtest as the software testing framework. Say goodbye to software bugs in your CFD solvers!

Read article

Lecture 7: Never worry about Docs again! Automate it with CMake instead

Learn in this article how to automatically build and install your documentation with CMake, never worrying about dealing with pesky documentation yourself again

Read article

Lecture 8: How to use CMake/CPack to create beautiful GUI-installers

Create graphical user interfaces for installing your CMake-based projects using CPack and QT's Installer Framework for easy-to-install executables and libraries

Read article

Lecture 9: Complete walkthrough: Adding CMake to an existing library

Learn in this article how to add CMake to an existing project to automate compilation, testing, documentation generation, installation, and packaging

Read article

Lecture 10: How to use Conan to manage your own CMake-based libraries

Learn in this article how to create a Conan recipe to make our CFD libraries easily available to other users using the Conan package manager

Read article
Popup Image

Get started today!

Do you want to learn how to put the Navier-Stokes equations into code and write your own solver?

Sign up for my newsletter, and you get my eBook Write your first CFD solver - From theory to implemented CFD solver in less than a weekend for free!