Boost logo

Boost-Build :

From: Alex Khassapov (alex.khassapov_at_[hidden])
Date: 2008-01-23 22:40:58


Khassapov, Alex <Alex.Khassapov <at> itg.com> writes:

>
> Does anybody have any experience in building embedded SQL –
> files with .SC extension (sybase on Solaris)?
>
>  
>
> Best Regards
>
> Alex Khassapov
>

As I start understandig BJam better, I found how to do that:

type.register ESQL : SC ;
generators.register-standard embedsql.embedsql : ESQL : CPP ;

rule init ( )
{
}

rule embedsql ( target : source : properties * )
{
}

actions embedsql
{
    cpre -Cansi_c -O$(<) $(>)
}


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk