2022-04-11 06:11:23 +00:00
|
|
|
# of_cmake_config
|
|
|
|
|
|
|
|
#### Description
|
2022-04-11 06:44:18 +00:00
|
|
|
This project is used to generate CMakeLists.txt for OpenFOAM project.
|
2022-04-11 06:11:23 +00:00
|
|
|
|
|
|
|
#### Installation
|
2022-04-11 06:44:18 +00:00
|
|
|
0. Activate OpenFOAM environment:
|
|
|
|
- Using alias `of2012clang` or `of2012clangdebug`
|
|
|
|
- source directly: `source $HOME/OpenFOAM/OpenFOAM-v2012/etc/bashrc WM_COMPILER=Clang ...`
|
|
|
|
1. Get this project: `git clone https://gitee.com/xfygogo/of_cmake_config.git of_cmake_config`
|
|
|
|
2. Install: `cd of_cmake_config && ./install`
|
2022-04-11 06:11:23 +00:00
|
|
|
|
|
|
|
#### Instructions
|
|
|
|
|
2022-04-11 06:44:18 +00:00
|
|
|
1. Activate OpenFOAM environment
|
|
|
|
2. In project root path, run `ofCmakeConfig`
|