Boost logo

Boost Users :

From: Jaroslav Gresula (jgresula_at_[hidden])
Date: 2006-01-22 13:47:12


I'm using the CVS version of Boost.Build on WinXP. Consider the
following project:

top/
  |
  +-- include/
  | |
  | +-- dir/
  | |
  | +--header.h
  +-- Jamroot
  +-- main.cxx

// -- main.cxx
#include <dir/header.h>

int main() {
   return 0;
}

# -- Jamroot
path-constant TOP : . ;
exe app : main.cxx
        : <include>$(TOP)/include
         ;

Modification of header.h does not invoke the app target. I'm not
familiar with bjam at all, but there is one thing I noticed and which
might be relevant. When bjam is run with -d7 the include directory
appears in the bjam's output with leading '/' and 'header.h' itself is
labeled as missing:

set SEARCH = /c:/Temp/bb2/include
set HDRSCAN = #[ t]*include[ ]*(<(.*)>|"(.*)")
set SCANNER = object(c-scanner)@45
set HDRRULE = scanner.hdrrule
set HDRGRIST = object(c-scanner)@45
build file: root = '/c:/Temp/bb2/include' dir = 'dir' base = 'header'
search <object(c-scanner)@45>dir/header.h: /c:/Temp/bb2/include\dir/header.h
build file: dir = '\c:\temp\bb2\include\dir' build file: dir = 'dir'
base = 'header' search <object(c-scanner)@45>dir/header.h: dir/header.h
build file: dir = 'dir' set SEARCH =
set HDRSCAN =
set SCANNER =
set HDRRULE =
set HDRGRIST =
bind -- <object(c-scanner)@45>dir/header.h: dir/header.h
time -- <object(c-scanner)@45>dir/header.h: missing
made stable <object(c-scanner)@45>dir/header.h
made* newer <p.-object(c-scanner)@45>main.cxx
made+ update <pbin\msvc\debug>main.obj
made+ update <pbin\msvc\debug>app.exe
made update all

--
Jarda

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net