删除冗余代码;添加occ脚本

This commit is contained in:
2022-08-29 00:10:53 +08:00
parent b577883841
commit cca0de5e85
6 changed files with 23 additions and 65 deletions

View File

@ -1,4 +1,5 @@
# of_cmake_config
[中文](README.md) | [英文](README.en.md)
#### Description
This project is used to generate CMakeLists.txt for OpenFOAM project.
@ -13,4 +14,8 @@ This project is used to generate CMakeLists.txt for OpenFOAM project.
#### Instructions
1. Activate OpenFOAM environment
2. In project root path, run `ofCmakeConfig`
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](demo/occ_demo.mp4)