Darth Vader aa532d5fa4 Squashed 'examples/c/' changes from 82c54e70..1680e5b7
1680e5b7 Updated for phreeqc changes Introduce end-of-line normalization for CMakeLists.txt

git-subtree-dir: examples/c
git-subtree-split: 1680e5b76fc4f1008166df4b07cfa12049f7ff51
2023-05-29 03:20:59 +00:00
..
ic
2013-08-08 17:23:57 +00:00
2011-03-25 23:23:21 +00:00

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 .