Boost logo

Boost-Build :

From: David Abrahams (dave_at_[hidden])
Date: 2004-12-03 03:47:48

Vladimir Prus wrote:

> Obviously, there should be an invocation of main target rule. You can
> either define it yourself (like boostbook.jam defined the 'boostbook'
> rule, or let V2 do it for you:
> (Look for "the second approach" phrase).

It says:

if you create a module "obfuscate.jam" containing:

import type ;
type.register OBFUSCATED_CPP : ocpp : : main ;

import generators ;
generators.register-standard obfuscate.file : CPP : OBFUSCATED_CPP ;

and import that module, you'll be able to use the rule
"obfuscated-cpp" in Jamfiles, which will convert source to the

Really? Where would that rule come from? Don't you mean "ocpp?"

Dave Abrahams
Boost Consulting

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at