Charlton, Scott R 90a6449de8 Updated for phreeqc changes
Introduce end-of-line normalization for CMakeLists.txt
2023-05-28 20:14:57 -06:00
..
2023-05-28 20:14:57 -06:00
ex2
2020-08-25 12:27:15 -06:00
2020-09-16 21:40:45 -07: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\using-cmake\_build
  2. 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/using-cmake/_build
  2. cmake --build .