of_cmake_config/README.en.md

550 B

of_cmake_config

Description

This project is used to generate CMakeLists.txt for OpenFOAM project.

Installation

  1. Activate OpenFOAM environment:
    • Using alias of2012clang or of2012clangdebug
    • source directly: source $HOME/OpenFOAM/OpenFOAM-v2012/etc/bashrc WM_COMPILER=Clang ...
  2. Get this project: git clone https://gitee.com/xfygogo/of_cmake_config.git of_cmake_config
  3. Install: cd of_cmake_config && ./install

Instructions

  1. Activate OpenFOAM environment
  2. In project root path, run ofCmakeConfig