added README to examples

This commit is contained in:
Charlton, Scott R 2020-10-28 20:43:30 -06:00
parent f01587bf86
commit fbfc472983
6 changed files with 137 additions and 0 deletions

View File

@ -11,6 +11,7 @@ ${IPhreeqc_BINARY_DIR}/examples/c/advect/CMakeLists.txt
advect.c
ic
phreeqc.dat
README.txt
)
# src

View File

@ -0,0 +1,44 @@
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 .

View File

@ -11,6 +11,7 @@ ${IPhreeqc_BINARY_DIR}/examples/cpp/advect/CMakeLists.txt
advect.cpp
ic
phreeqc.dat
README.txt
)
# src

View File

@ -0,0 +1,45 @@
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\cpp\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/cpp/advect
2. mkdir _build
3. cd _build
4. cmake -DCMAKE_PREFIX_PATH:PATH=/home/charlton/iphreeqc ..
5. cmake --build .

View File

@ -14,6 +14,7 @@ ${IPhreeqc_BINARY_DIR}/examples/fortran/advect/CMakeLists.txt
advect.F90
ic
phreeqc.dat
README.txt
)
if (IPHREEQC_FORTRAN_TESTING AND IPHREEQC_ENABLE_MODULE)

View File

@ -0,0 +1,45 @@
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\fortran\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/fortran/advect
2. mkdir _build
3. cd _build
4. cmake -DCMAKE_PREFIX_PATH:PATH=/home/charlton/iphreeqc ..
5. cmake --build .