cmake_minimum_required(VERSION 3.12 FATAL_ERROR)

# Define project settings
project(thesis)

include(UseLATEX.cmake)

add_latex_document(thesis.tex
    # add all tex files here
    INPUTS  title.tex
            abstract.tex
            intro.tex
            numod.tex
            appendix.tex
            Figures/DREAM_figure.tex
            thesis.css
            
    BIBFILES reference.bib
    IMAGE_DIRS Figures Figures/DREAMDiagrams
    # use a glossary and index
    USE_GLOSSARY
    USE_INDEX
)