vkottler / dotfiles

Vim, Bash, Git and other configurations!
GNU General Public License v3.0
8 stars 1 forks source link

Update cmake setup to build documentation #2

Closed vkottler closed 2 years ago

vkottler commented 2 years ago

It seems to have these bootstrap options:

  --sphinx-info           build Info manual with Sphinx
  --sphinx-man            build man pages with Sphinx
  --sphinx-html           build html help with Sphinx
  --sphinx-qthelp         build qch help with Sphinx
  --sphinx-latexpdf       build PDF with Sphinx using LaTeX
  --sphinx-build=<sb>     use <sb> as the sphinx-build executable
  --sphinx-flags=<flags>  pass <flags> to sphinx-build executable

It also has some other useful options, like:

  --parallel=n            bootstrap cmake in parallel, where n is                                                                                                                                                                                              number of nodes [1]
...
  --generator=<generator> generator to use (MSYS Makefiles, Unix Makefiles,                                                                                                                                                                                    or Ninja)
  --enable-ccache         Enable ccache when building cmake

By default it looks like we don't get man pages or documentation or anything. That would be pretty useful

vkottler commented 2 years ago

Finished this on 88a0789a1ac08cc08ac85286e6cf0c5473127d48