view doc/manual/CMakeLists.txt @ 632:ed19b429a152

- added explicit arm64 target, and clang tool options to Windows' configure.bat - configure.{bat,rc} now writing Makefile.config, for consistency/compatibility (e.g. configure.bat can now be used to set up env flags for a non-nmake toolchain) - simplified/decluttered Windows and Plan9 configure scripts (removal of unused/stale options, ...) - removed stale test/makepkg.sh helper
author Tassilo Philipp
date Sat, 19 Nov 2022 15:45:41 +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)