iphreeqc/examples/cpp/advect/CMakeLists.txt
Scott R Charlton 756abc03f6 added examples to cmake build;
changed IPhreeqc.f90.inc to use IPhreeqc

git-svn-id: svn://136.177.114.72/svn_GW/IPhreeqc/trunk@9701 1feff8c3-07ed-0310-ac33-dd36852eb9cd
2015-05-21 05:41:22 +00:00

30 lines
507 B
CMake

# project
project(example_advect_cpp CXX)
# files
SET(CPP_Advect_Files
advect.cpp
ic
phreeqc.dat
)
# src
SET(CPP_Advect_SRC
advect.cpp
)
# executable
add_executable(example_advect_cpp ${CPP_Advect_SRC})
# library dependencies
SET(EXTRA_LIBS ${EXTRA_LIBS} IPhreeqc)
# link
target_link_libraries(example_advect_cpp ${EXTRA_LIBS})
# install directory
SET(CPP_Advect_Dir ${EXAMPLES_DIR}/cpp/advect)
# install
install(FILES ${CPP_Advect_Files} DESTINATION ${CPP_Advect_Dir})