|
Boost-Build : |
Subject: [Boost-build] .i file suffix problem
From: lepere (renaud.lepere_at_[hidden])
Date: 2012-01-17 10:13:41
I'm using Swig and bbv2 and i use .i as suffix for swig input file. This
was working well in the past but with latest bbv2 i got an error :
preprocessed.jam already define this suffix.
type.register SWIG : i ;
generators.register-standard alma.swig : SWIG : CPP ;
feature.feature swig-options : : free ;
toolset.flags alma.swig OPTIONS <swig-options> ;
rule swig { }
actions swig {
swig $(OPTIONS) -o $(<) $(>)
}
C:/Renaud/alma/BuildTools/bbv2/build\type.jam:123: in register-suffixes
from module type
error: Attempting to specify multiple types for suffix "i"
error: Old type PREPROCESSED_C, New type SWIG
C:/Renaud/alma/BuildTools/bbv2/build\type.jam:58: in type.register from
module type
What should i do ?
- Change my swig suffix to something more explicit (.swig_i)
- or can i disable PREPROCESSED_C.
Thanks
Renaud
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