iphreeqc/advect/README.txt
Darth Vader f7383cafbb Squashed 'examples/c/' changes from 8d5070c9..2a2707ae
2a2707ae [iphreeqccom] updated date
a203e0cf [iphreeqc] updated image location
aa055fc9 added README to examples
e1f78666 added CMakeLists.txt to examples
23fa9771 fixed to run on linux; cleaned examples
7dade0c0 [phreeqc] Testing subtree merges
445c6945 [phreeqc] Testing subtree merges 2
294e42f6 [phreeqc] Testing subtree merges
d664f890 Added .gitlab-ci.yml
513a83ee Closes https://gitlab.cr.usgs.gov/coupled/IPhreeqc/issues/6

git-subtree-dir: examples/c
git-subtree-split: 2a2707ae767123b1418ca2250e14df6caa65d6e2
2021-10-30 22:54:20 +00:00

45 lines
1.4 KiB
Plaintext

Example usage
--------------------------------------------------------------------------------------
Windows
--------------------------------------------------------------------------------------
Configure, build, test and install IPhreeqc
1. cd iphreeqc-@VERSION@-@REVISION@
2. mkdir _build
3. cd _build
4. cmake -S .. -B . -DCMAKE_INSTALL_PREFIX:PATH=c:/Users/charlton/iphreeqc
5. cmake --build . --config debug
6. ctest -C debug
7. cmake --build . --config release
8. ctest -C release
9. cmake --build . --config debug --target install
10. cmake --build . --config release --target install
Build example:
1. cd c:\Users\charlton\iphreeqc\examples\c\advect
2. mkdir _build
3. cd _build
4. cmake -DCMAKE_PREFIX_PATH:PATH=c:/Users/charlton/iphreeqc ..
5. cmake --build . --config release
--------------------------------------------------------------------------------------
Linux/macOS
--------------------------------------------------------------------------------------
Configure, build, test and install IPhreeqc
1. cd iphreeqc-@VERSION@-@REVISION@
2. mkdir _build
3. cd _build
4. cmake -S .. -B . -DCMAKE_INSTALL_PREFIX:PATH=/home/charlton/iphreeqc
5. cmake --build .
6. ctest
7. cmake --build . --target install
Build example:
1. cd /home/charlton/iphreeqc/share/doc/IPhreeqc/examples/c/advect
2. mkdir _build
3. cd _build
4. cmake -DCMAKE_PREFIX_PATH:PATH=/home/charlton/iphreeqc ..
5. cmake --build .