diff options
author | Adrian Negreanu <adrian.m.negreanu@intel.com> | 2015-06-16 11:50:21 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2015-07-18 13:07:23 (GMT) |
commit | 3c4a1ea2ee56f2604c2277f13737d53b3a0b0353 (patch) | |
tree | a49fca3f798577cea86fec18c203d61f4499c041 /.travis.yml | |
parent | 1989a4918340bcdb5c5447afba1468e7eecc7705 (diff) | |
download | Doxygen-3c4a1ea2ee56f2604c2277f13737d53b3a0b0353.zip Doxygen-3c4a1ea2ee56f2604c2277f13737d53b3a0b0353.tar.gz Doxygen-3c4a1ea2ee56f2604c2277f13737d53b3a0b0353.tar.bz2 |
doc: generate Doxygen's documentation.
* use configure_files to avoid different $ semantics when COMMAND lines
are expanded in build files. ($$var vs. \$var)
* nmake/gmake no longer needed by cmake, when building doc.
* explicitly copy doc files into build directory to make it clear what
files each build stage uses.
Documentation can be built with:
mkdir build/ && cd $_
cmake -Dbuild_doc=1 .. # add -G"NMake Makefiles" for nmake
make docs # this builds doxygen first
v3: replace file(COPY) with proper generated file tagging.
v2: Remove option to build documentation independently from doxygen.
tested on linux(gmake) and windows(nmake) [thanks albert]
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml index e45a202..2444e79 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,6 +2,7 @@ language: cpp compiler: - gcc before_install: + - sudo add-apt-repository ppa:texlive-backports/ppa -qq - sudo apt-get update -qq - sudo apt-get install -qq texlive texlive-extra-utils texlive-latex-extra libxml2-utils - wget -qO- http://www.cmake.org/files/v3.1/cmake-3.1.0-Linux-x86_64.tar.gz | tar xvz @@ -12,3 +13,4 @@ script: - ../cmake-3.1.0-Linux-x86_64/bin/cmake -G "Unix Makefiles" -Dbuild_doc=ON -Dbuild_wizard=ON .. - make - make tests + - make docs |