added examples to CMake build

git-svn-id: svn://136.177.114.72/svn_GW/IPhreeqc/trunk@9689 1feff8c3-07ed-0310-ac33-dd36852eb9cd
This commit is contained in:
Scott R Charlton 2015-05-20 06:35:04 +00:00
parent c5c6803c96
commit a61ab6664f
5 changed files with 26 additions and 4 deletions

5
doc/CMakeLists.txt Normal file
View File

@ -0,0 +1,5 @@
SET(IPhreeqc_Docs
IPhreeqc.pdf
)
install(FILES ${IPhreeqc_Docs} DESTINATION ${CMAKE_INSTALL_DOCDIR})
install(DIRECTORY html/ DESTINATION ${CMAKE_INSTALL_DOCDIR}/html)

6
examples/CMakeLists.txt Normal file
View File

@ -0,0 +1,6 @@
SET(EXAMPLES_DIR $(docdir)/examples)
add_subdirectory(c)
add_subdirectory(com)
add_subdirectory(cpp)
add_subdirectory(fortran)

View File

@ -44,8 +44,9 @@ example_com_exceldir = $(EXAMPLES_DIR)/com/excel
dist_example_com_excel_DATA = $(com_excel)
com_excel= \
com/excel/phreeqc.dat \
com/excel/runphreeqc.xls \
com/excel/phreeqc.dat
com/excel/withcallback.xls
# com python
#
@ -55,7 +56,7 @@ dist_example_com_python_DATA = $(com_python)
com_python= \
com/python/Gypsum.py \
com/python/wateq4f.dat \
com/python/pitzer.dat \
com/python/parallel_advect.py \
com/python/phreeqc.dat
com/python/phreeqc.dat \
com/python/pitzer.dat \
com/python/wateq4f.dat

View File

@ -0,0 +1 @@
add_subdirectory(advect)

View File

@ -0,0 +1,9 @@
SET(CPP_Advect_Files
advect.cpp
ic
phreeqc.dat
)
SET(CPP_Advect_Dir ${EXAMPLES_DIR}/cpp/advect)
install(FILES ${CPP_Advect_Files} DESTINATION ${CPP_Advect_Dir})