mirror of
https://git.gfz-potsdam.de/naaice/iphreeqc.git
synced 2025-12-15 16:18:22 +01:00
Updated for phreeqc changes
Introduce end-of-line normalization for CMakeLists.txt
This commit is contained in:
parent
82c54e7054
commit
1680e5b76f
@ -1 +1 @@
|
||||
add_subdirectory(advect)
|
||||
add_subdirectory(advect)
|
||||
|
||||
@ -1,35 +1,35 @@
|
||||
# project
|
||||
project(example_advect_c C)
|
||||
|
||||
configure_file(phreeqc.dat phreeqc.dat COPYONLY)
|
||||
configure_file(ic ic COPYONLY)
|
||||
configure_file(CMakeLists.txt.in CMakeLists.txt COPYONLY)
|
||||
|
||||
# files
|
||||
SET(C_Advect_Files
|
||||
${IPhreeqc_BINARY_DIR}/examples/c/advect/CMakeLists.txt
|
||||
advect.c
|
||||
ic
|
||||
phreeqc.dat
|
||||
README.txt
|
||||
)
|
||||
|
||||
# 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})
|
||||
# project
|
||||
project(example_advect_c C)
|
||||
|
||||
configure_file(phreeqc.dat phreeqc.dat COPYONLY)
|
||||
configure_file(ic ic COPYONLY)
|
||||
configure_file(CMakeLists.txt.in CMakeLists.txt COPYONLY)
|
||||
|
||||
# files
|
||||
SET(C_Advect_Files
|
||||
${IPhreeqc_BINARY_DIR}/examples/c/advect/CMakeLists.txt
|
||||
advect.c
|
||||
ic
|
||||
phreeqc.dat
|
||||
README.txt
|
||||
)
|
||||
|
||||
# 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