Gmane
From: Klaus Nowikow <e8827661 <at> student.tuwien.ac.at>
Subject: Problem with generated headers
Newsgroups: gmane.comp.lib.boost.build
Date: 2006-06-13 15:43:55 GMT (3 years, 2 weeks, 6 days, 13 hours and 37 minutes ago)
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

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build