Daniel Lidström wrote:
> Hello,
>
> I have a project that needs to run configure before being built. This should generate the header
> config.h. Here's how I tried to solve this:
>
> alias config-header
> : config.h
> ;
>
> make config.h
> :
> : make-configure
> ;
>
> actions make-configure
> {
> ./configure
> }
>
> lib sbg_fltk
> : config-header
> src/Fl_Double_Window.cxx
> .
> .
> .
> ;
>
> This doesn't run configure though, and Fl_Double_Window.cxx fails to compile.
> Any ideas on what I should do?
Daniel,
try
<implicit-dependency>config-header
in requirements. Because '.h' files are not actually used when building 'lib'
at all, the 'config-header' in sources is ignored.
HTH,
Volodya
_______________________________________________
Unsubscribe & other changes:
http://lists.boost.org/mailman/listinfo.cgi/boost-build