Hi Stephan,

On Wed, Mar 01, 2006 at 17:36:04 +0100, Stephan Bergmann wrote:

> Note that testhxx only works for headers delivered to the solver, not 
> for local headers within a CVS module (as testhxx calls the compiler 
> with only a fixed set of include directories).

I didn't take a look at the soltools' script yet, but my personal
testhxx so far looks like


foreach x ( ../../../inc/*.hxx )
    echo '#include "'$x'"' >ttt_`basename $x .hxx`.cxx
end

foreach x ( ttt_*.cxx )
    dmake wall=true ../../../${INPATH}/slo/`basename $x .cxx`.obj
    if ($? == 0) then
        rm $x ../../../${INPATH}/slo/`basename $x .cxx`.obj
    else
        break
    endif
end


and if sourced in a tcsh works fine for any header file local to the
module, since the dmake target mechanism using implicit rules passes all
necessary includes, defines and switches.

  Eike

-- 
 OOo/SO Calc core developer. Number formatter stricken i18n transpositionizer.
 GnuPG key 0x293C05FD:  997A 4C60 CE41 0149 0DB3  9E96 2F1A D073 293C 05FD

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to