mirror of
https://git.gfz-potsdam.de/naaice/iphreeqc.git
synced 2025-12-16 00:28:23 +01:00
added examples to cmake build;
changed IPhreeqc.f90.inc to use IPhreeqc git-svn-id: svn://136.177.114.72/svn_GW/phreeqc/trunk@9701 1feff8c3-07ed-0310-ac33-dd36852eb9cd
This commit is contained in:
parent
34a58d8e99
commit
8d5070c9f9
@ -1,11 +1,31 @@
|
||||
# project
|
||||
project(example_advect_c C)
|
||||
|
||||
# files
|
||||
SET(C_Advect_Files
|
||||
advect.c
|
||||
ic
|
||||
phreeqc.dat
|
||||
)
|
||||
|
||||
SET(C_Advect_Dir ${EXAMPLES_DIR}/cpp/advect)
|
||||
# src
|
||||
SET(C_Advect_SRC
|
||||
advect.c
|
||||
)
|
||||
|
||||
# executable
|
||||
add_executable(example_advect_c ${C_Advect_SRC})
|
||||
|
||||
# library dependencies
|
||||
SET(EXTRA_LIBS ${EXTRA_LIBS} IPhreeqc)
|
||||
|
||||
# link
|
||||
target_link_libraries(example_advect_c ${EXTRA_LIBS})
|
||||
|
||||
# install directory
|
||||
SET(C_Advect_Dir ${EXAMPLES_DIR}/c/advect)
|
||||
|
||||
# install
|
||||
install(FILES ${C_Advect_Files} DESTINATION ${C_Advect_Dir})
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user