Skip to content

Commit

Permalink
Update build instructions for a conda environment
Browse files Browse the repository at this point in the history
  • Loading branch information
mdpiper committed Oct 23, 2023
1 parent a243579 commit 25d4a54
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[![Basic Model Interface](https://img.shields.io/badge/CSDMS-Basic%20Model%20Interface-green.svg)](https://bmi.readthedocs.io/)
[![Build/Test CI](https://github.com/csdms/bmi-example-cxx/workflows/Build/Test%20CI/badge.svg)](https://github.com/csdms/bmi-example-cxx/actions?query=workflow%3A%22Build%2FTest+CI%22)
[![Build/Test](https://github.com/csdms/bmi-example-cxx/actions/workflows/test.yml/badge.svg)](https://github.com/csdms/bmi-example-cxx/actions/workflows/test.yml)

# bmi-example-cxx

Expand Down Expand Up @@ -56,7 +56,7 @@ where `<path-to-installation>` is the base directory
in which the C++ BMI bindings have been installed
(`/usr/local` is the default).
When installing into a conda environment,
use the `CONDA_PREFIX` environment variable.
use the `$CONDA_PREFIX` environment variable.

The installation will look like
(on macOS, using v2.0 of the BMI specification):
Expand Down Expand Up @@ -100,11 +100,10 @@ run the following in a [Developer Command Prompt](https://docs.microsoft.com/en-
-DCMAKE_BUILD_TYPE=Release

where `<path-to-installation>` is the base directory
in which the C BMI bindings have been installed
(`"C:\Program Files (x86)"` is the default;
note that quotes and an absolute path are needed).
When installing into a conda environment,
use the `%CONDA_PREFIX%` environment variable.
in which the C++ BMI bindings have been installed.
The default is `"C:\Program Files (x86)"`.
Note that quotes and an absolute path are needed.
When using a conda environment, use `"%CONDA_PREFIX%\Library"`.

Then, to build and install:

Expand Down

0 comments on commit 25d4a54

Please sign in to comment.