Boost logo

Boost-Build :

From: Reece Dunn (msclrhd_at_[hidden])
Date: 2005-11-16 03:04:54


Alexey Pakhunov wrote:
> Reece Dunn wrote:
>> However, using an IDL file in a target causes that target to always be
>> rebuilt (tested with the latest version). This problem seems to have
>> reappeared :(.
>
> I can't reproduce this problem. It works for me. Can you send me a small
> repro project?

Compiling this the first time compiles the IDL file, then builds the
DLL. The next time, it just compiles the IDL file. Repeat.

-- builtin.jam (for now!) --

feature windows
   : none
     95 98 me
     nt 2k xp 2k3 vista
     pocketpc2003 smartphone2003
   : incidental composite ;

...
feature.compose <windows>nt : <define>WINVER=0x0400
<define>_WIN32_WINNT=0x0400 ;
...

-- Jamfile --

mstypelib AppCore : ReaderCore.idl ;

lib App.Core
   :
     main.cpp
     res/res.rc
     ...
   :
     <implicit-dependency>AppCore
     <def-file>../../../../libs/res/comdll.def
     <windows>nt
     <link>shared
   ;

- Reece


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