Commit 5725a3e3 authored by Chris Cantwell's avatar Chris Cantwell

Set some CMake variables to be marked as advanced.

parent 73b2afb8
......@@ -144,6 +144,9 @@ ELSE (THIRDPARTY_BUILD_BOOST)
IF (Boost_REGEX_FOUND)
MESSAGE(STATUS "Found Boost regex library: ${Boost_REGEX_LIBRARY}")
ENDIF ()
IF (BOOST_THREAD_LIBRARY)
MARK_AS_ADVANCED(BOOST_THREAD_LIBRARY)
ENDIF (BOOST_THREAD_LIBRARY)
ENDIF (THIRDPARTY_BUILD_BOOST)
INCLUDE_DIRECTORIES(SYSTEM ${Boost_INCLUDE_DIRS})
......@@ -4,6 +4,7 @@ SET(USERGUIDE ${CMAKE_BINARY_DIR}/docs/user-guide)
FILE(MAKE_DIRECTORY ${USERGUIDE}/html)
FIND_PROGRAM(HTLATEX htlatex)
MARK_AS_ADVANCED(HTLATEX)
ADD_CUSTOM_TARGET(user-guide-html
export TEXINPUTS=${USERGUIDESRC}//: && ${HTLATEX} ${USERGUIDESRC}/user-guide.tex
"${USERGUIDESRC}/styling.cfg,html,2,next,NoFonts"
......@@ -11,8 +12,12 @@ ADD_CUSTOM_TARGET(user-guide-html
)
FIND_PROGRAM(PDFLATEX pdflatex)
MARK_AS_ADVANCED(PDFLATEX)
FIND_PROGRAM(BIBTEX bibtex)
MARK_AS_ADVANCED(BIBTEX)
FIND_PROGRAM(MAKEINDEX makeindex)
MARK_AS_ADVANCED(MAKEINDEX)
ADD_CUSTOM_TARGET(user-guide-pdf
${PDFLATEX} --output-directory ${USERGUIDE} ${USERGUIDESRC}/user-guide.tex
COMMAND TEXMFOUTPUT=${USERGUIDE} ${BIBTEX} ${USERGUIDE}/user-guide.aux
......
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