I have a folder structure like this:
chapters
├── a.tex
├── folder1
│ ├── b.tex
│ ├── c.tex
├── d.tex
└── folder2
├── e.tex
├── f.tex
...
I'm basically modifying an existing makefile, how can I load all .tex
files in the set parts
without hardcoding all files like this:
set(parts
chapters/a.tex
chapters/d.tex
chapters/folder1/b.tex
chapters/folder1/c.tex
...
)
I'm using the parts
set later like this:
add_latex_document(output.tex
INPUTS ${parts}
)