|
Boost-Build : |
From: Klaus Nowikow (e8827661_at_[hidden])
Date: 2006-06-13 11:43:55
I created a little tool file for running xpidl (the interface
generator from the mozilla project) following
http://boost.org/boost-build2/doc/html/bbv2/extender.html :
<code>
import type ;
type.register XPIDL : idl ;
import generators ;
generators.register-standard xpidl.xpidl : XPIDL : H ;
actions xpidl
{
xpidl -m header -Ic:/cygwin/opt/mingw/idl -w $(>)
}
</code>
and tried to test it with this jamfile:
<code>
lib vtk-wrapper
: vtkIVisualizationFrame.idl plugin.cpp
: <link>shared ;
</code>
where plugin.cpp contains only
'#include "vtkIVisualizationFrame.h"'. Running
xpidl -m header -Ic:/cygwin/opt/mingw/idl -w vtkIVisualizationFrame.idl
does create the header file, but from running bjam the xpidl
program is not called (see the output of 'bjam -n' below). Is
something missing? btw, I am using MinGW on Windows.
'bjam -n' output:
...found 14 targets...
...updating 2 targets...
gcc.compile.c++ ..\..\src\vtk-wrapper\bin\gcc\debug\threading-multi\plugin.o
"g++" -Wall -ftemplate-depth-100 -O0 -fno-inline -g -mthreads
-I"c:\cygwin\opt\mingw\include\mozilla" -c -o
"..\..\src\vtk-wrapper\bin\gcc\debug\threading-multi\plugin.o"
"..\..\src\vtk-wrapper\plugin.cpp"
gcc.link.dll
..\..\src\vtk-wrapper\bin\gcc\debug\threading-multi\vtk-wrapper.dll
"g++" -o
"..\..\src\vtk-wrapper\bin\gcc\debug\threading-multi\vtk-wrapper.dll"
-shared "..\..\src\vtk-wrapper\bin\gcc\debug\threading-multi\plugin.o"
-g -mthreads
...updated 2 targets...
Thank you,
Klaus
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