56 lines
1.1 KiB
CMake
56 lines
1.1 KiB
CMake
#
|
|
# Generates the documents using pdflatex.
|
|
#
|
|
|
|
if(ENABLE_DESIGN_DOCUMENTS)
|
|
include(UseLATEX)
|
|
# Abort compilation on errors.
|
|
# Failing to do so might lead to infinite loops and hard to diagnose
|
|
# problems.
|
|
set(LATEX_COMPILER_FLAGS "")
|
|
set(PDFLATEX_COMPILER_FLAGS "")
|
|
|
|
ADD_LATEX_DOCUMENT(
|
|
gui2.tex
|
|
INPUTS
|
|
#
|
|
# LaTeX files
|
|
#
|
|
gui2.sty
|
|
gui2/abstract.tex
|
|
gui2/introduction.tex
|
|
gui2/overall_design.tex
|
|
gui2/design_details.tex
|
|
gui2/design_details/tooltip_placement.tex
|
|
gui2/creating_widgets_and_dialogs.tex
|
|
gui2/files_for_the_widget.tex
|
|
gui2/files_for_the_window.tex
|
|
#
|
|
# Source files.
|
|
#
|
|
gui2/progress_bar.cpp
|
|
gui2/unit_attack.cpp
|
|
gui2/widget_definition.cpp
|
|
gui2/window_builder.cpp
|
|
gui2/progress_bar.cfg
|
|
gui2/progress_bar.hpp
|
|
gui2/unit_attack.cfg
|
|
gui2/unit_attack.hpp
|
|
gui2/widget_definition.hpp
|
|
gui2/window_builder.hpp
|
|
DEFAULT_PDF
|
|
MANGLE_TARGET_NAMES
|
|
)
|
|
ADD_LATEX_DOCUMENT(
|
|
umcd.tex
|
|
INPUTS
|
|
#
|
|
# LaTeX files
|
|
#
|
|
umcd/abstract.tex
|
|
umcd/communication_protocol.tex
|
|
umcd/introduction.tex
|
|
DEFAULT_PDF
|
|
MANGLE_TARGET_NAMES
|
|
)
|
|
endif(ENABLE_DESIGN_DOCUMENTS)
|