2024-09-10 13:41:30 +08:00
2022-04-11 06:11:23 +00:00
2024-09-10 13:39:06 +08:00
2022-04-11 14:44:18 +08:00
2022-08-30 15:11:04 +08:00
2022-08-30 15:11:04 +08:00
2024-09-10 13:41:30 +08:00
2024-09-10 13:41:30 +08:00

of_cmake_config

中文 | English

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 to generate CMakeLists.txt
    • or run occ, which is a wrapper of ofCmakeConfig script, to generate CMakeLists.txt and compile_commands.json.

video demo

Description
No description provided
Readme 3.5 MiB
Languages
Python 79.5%
Shell 20.5%