unifying CMake and configure builds

git-svn-id: svn://136.177.114.72/svn_GW/IPhreeqc/trunk@9720 1feff8c3-07ed-0310-ac33-dd36852eb9cd
This commit is contained in:
Scott R Charlton 2015-05-26 06:21:06 +00:00
parent 0e89139fc4
commit 64be11d988

17
README.Fortran Normal file
View File

@ -0,0 +1,17 @@
In Fortran, you will need to include the source file IPhreeqc_interface.F90
in your project files. This file defines the IPhreeqc Fortran module. This
is the preferred method to use IPhreeqc from a Fortran program.
USE IPhreeqc
INTEGER(KIND=4) id
id = CreateIPhreeqc()
Use of the include files IPhreeqc.f.inc and IPhreeqc.f90.inc has been
deprecated. To continue using them you must unset IPHREEQC_ENABLE_MODULE in
CMake builds or use the --disable-fortran-module in configure builds. If
either of these settings are used the Fortran include files will be
installed to the include directory.
INCLUDE 'IPhreeqc.f90.inc'
INTEGER(KIND=4) id
id = CreateIPhreeqc()