Skip to content

Deploy CMake addon for speeding up compilation on Windows #268

@wyldckat

Description

@wyldckat

Based on the last presentation here: https://youtu.be/U9opl90DPPg?t=2756 - it is possible to speed up OpenFOAM compilation by a lot. And on Windows, we need it even more for enhanced performance. And CMake even has the ability to blob up various C files into one for Unity builds, which can reduce even further the time it takes to compile.

Online there is this repository: https://github.com/stuart23/cmake-OpenFOAM - which provides an adapted installation of OpenFOAM 4.x.
And here is a few instructions on how to do it in general: https://www.cfd-online.com/Forums/openfoam-programming-development/241735-how-develop-openfoam-cmake-popular-ides.html

Now, given how everyone simply hacks the repo, we need something that allows us to do it dynamically, i.e. a wrapper, which allows generating the initial CMake files based on the wmake rules.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status

    No status

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions