view doc/manual/CMakeLists.txt @ 357:d982a00c2177

- PPC64 asm syntax fix, specifying explicitly comparison mode for cmpi (newer toolchains complain, older ones took optional field of instruction which happened to be same value)
author Tassilo Philipp
date Tue, 25 Feb 2020 18:16:13 +0100
parents 3e629dc19168
children
line wrap: on
line source

find_package(LATEX)
if(PDFLATEX_COMPILER)
  add_custom_command(
    OUTPUT  manual.pdf
    COMMAND ${PDFLATEX_COMPILER}
    ARGS manual.tex
    DEPENDS manual.tex
  )
  file(GLOB CLEAN_FILES *.aux *.log *.lof *.lol *.lot *.out *.toc)
  set_directory_properties(PROPERTIES ADDITIONAL_MAKE_CLEAN_FILES "${CLEAN_FILES}")
endif()
add_custom_target(manual ALL echo DEPENDS manual.pdf)