Commit 2e74addd authored by Oliver Sander's avatar Oliver Sander

[!215] Use dependency tracking provided by UseLatexMk.cmake

Merge branch 'use-latexmk-dependency-tracking' into 'master'

ref:staging/dune-functions dune-common switched to UseLatexMk.cmake, which
exploits the dependency tracking of latexmk. Let's use this for the
dune-functions manuals, because it allows to vastly shorten the CMakelists.txt
file.

See merge request [!215]

  [!215]: gitlab.dune-project.org/staging/dune-functions/merge_requests/215
parents 40f32a47 5511fb26
Pipeline #20862 passed with stage
in 10 minutes and 31 seconds
if(LATEX_USABLE)
set(BASES_SOURCES
../../examples/interpolation.cc
../../examples/stokes-taylorhood.cc
)
set(BASES_IMAGES
gfx/driven_cavity.pdf
gfx/driven_cavity_result.png
gfx/febasis_interface_schematic.pdf
gfx/cc-by-nd.pdf
)
dune_add_latex_document(dune-functions-bases.tex
BIBFILES dune-functions-bases.bib
INPUTS ${BASES_SOURCES}
IMAGES ${BASES_IMAGES})
set(FUNCTIONS_SOURCES
src/integration-test.cc
gfx/timings_gcc.pgf
gfx/timings_gcc_pgo.pgf
gfx/timings_clang.pgf
)
set(FUNCTIONS_IMAGES
gfx/functions_interface_schematic.pdf
)
dune_add_latex_document(dune-functions-functions.tex
BIBFILES dune-functions-functions.bib
INPUTS ${FUNCTIONS_SOURCES}
IMAGES ${FUNCTIONS_IMAGES})
add_latex_document(SOURCE dune-functions-bases.tex)
add_latex_document(SOURCE dune-functions-functions.tex)
endif(LATEX_USABLE)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment