In a sense, we already have the ability to target specific files - the
CMake DocBook build system has individual targets for every file and every
output type.  Generally speaking, the target name convention is:

<filename root>_[<lang>_]<type>_<output type>

lang is only used if the language of the document is other than English
(the default.)  So for example, let's say you wanted to build just:

HTML output for the Italian version of the about doc
HTML output for the tire article
PDF output for volume one of the manual
MAN output for the search man page

do:

make about_it_article_html tire_article_html
BRL-CAD_Tutorial_Series-VolumeI_book_pdf search_mann_man

I'm not sure that convention on <lang> is entirely consistent - if not we
should fix it - but that should let you target one or a select number of
files without having to build the whole of a category.  Does that do what
you need?

Cheers,
Cliff

On Tue, Mar 6, 2012 at 6:49 PM, Tom Browder <[email protected]> wrote:

> Here's a challenge for the wizard of cmake, Cliff Yapp:
>
> +  create a special text input file so a DB author can place in it the
> name of one or more DB source files which will be the only primary
> source files processed by special targets:
>
>   pdf-special
>   html-special
>
> and, maybe later:
>
>   epub-special
>   man-special
>   ...
>
> The LARGE amount of DB xml source files require some serious attention
> to work out all the DB source and tool chain bugs. Zeroing in on a few
> files at a time can help to efficiently concentrate on those files
> exhibiting the most general errors first which will help trim down the
> overall bug count significantly for a full build.
>
> Best regards,
>
> -Tom
>
>
> ------------------------------------------------------------------------------
> Keep Your Developer Skills Current with LearnDevNow!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-d2d
> _______________________________________________
> BRL-CAD Developer mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/brlcad-devel
>
------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
BRL-CAD Developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-devel

Reply via email to