Only include the sample code link when they are built.
BUG=webm:1565
Change-Id: If13126b59953b51a76c964da4a8c58eb367f2dd7
DOCS-yes += examples.doxy samples.dox
examples.doxy: samples.dox $(ALL_EXAMPLES:.c=.dox)
@echo "INPUT += $^" > $@
+ @echo "ENABLED_SECTIONS += samples" >> $@
release.
- The \ref readme contains instructions on recompiling the sample applications.
- Read the \ref usage "usage" for a narrative on codec usage.
+ \if samples
- Read the \ref samples "sample code" for examples of how to interact with the
codec.
+ \endif
- \ref codec reference
\if encoder
- \ref encoder reference
\ref usage_deadline.
+ \if samples
\ref samples
+ \endif
*/
\ref usage_postproc based on the amount of free CPU time. For more
information on the <code>deadline</code> parameter, see \ref usage_deadline.
+ \if samples
\ref samples
+ \endif
\section usage_cb Callback Based Decoding