Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@ Changes that improve readability, documentation, or interfaces are often welcome
- `dev-intel` – Intel ifort with all bindings
- `dev-ub-hunt` – GNU with undefined behavior detection (for advanced debugging)

These presets lock the Unix Makefiles generator and target GNU toolchains,
so they fail outright on Windows (`CMAKE_MAKE_PROGRAM is not set`). On
Windows, follow the explicit generator flow in the [Windows
Notes](https://nasa.github.io/cea/installation.html#windows-notes) section
of the installation guide instead of the preset commands below.

3. **Configure and build**
```bash
cmake --preset dev
Expand Down
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,15 @@ installation process is as follows:
cmake --build .
cmake --install .

**Windows:** the command above needs an explicit `-G` generator flag — with
none given and no Visual Studio installed, CMake defaults to NMake Makefiles
and fails before reaching the Fortran compiler:

cmake -G "Visual Studio 17 2022" -DCMAKE_INSTALL_PREFIX=<cea_install_dir> -DCEA_BUILD_TESTING=OFF ..

See the [Windows Notes](https://nasa.github.io/cea/installation.html#windows-notes)
section of the full installation guide for Intel oneAPI and other options.

This will build and install the `cea` executable, `libcea` library, default
thermodynamic and transport property databases, documentation, and sample
problems to the user-specified `cea_install_dir`.
Expand Down
Loading