Boost logo

Boost Users :

From: Lev Assinovsky (lassinovsky_at_[hidden])
Date: 2002-08-13 08:22:05


Hello folks!
I defined my own rule to provide resource compilation.
I put invocation of the rule in my Jambase file.
But when I run bjam (not jam!) it skipped my rule.
I believe that happens because my rule doesn't belong to 'all' list :"exe,
lib ..."
Should I try to define my rule in the style of EXE or there is more easy way
to provide
user''s rule invocation in BJAM?
Any help will be appreciated!

msvc-tools.jam:

------------------ cut here ------------------------
# resource rules for NT
rule rescomp
{
    DEPENDS $(<) : $(>) ;
    rescomp-impl $(<) : $(>) ;
}

actions rescomp-impl
{

    rc /l "0x409" /d "_DEBUG" "$(>)"
}
-------------------------------------------------------

Jamfile:
---------------- cut here --------------------------
subproject ICIDM ;

rescomp ICIDM.res : ICIDM.rc
        ;

dll ICIDM : ICIDM.cpp ICIDMInterfaces.cpp SWMRGuard.cpp SysDep.cpp
         : <include>$(ADC_ROOT) <include>$(BOOST_ROOT)
        ;

exe test : test.cpp <dll>ICIDM
         : <include>$(ADC_ROOT) <include>$(BOOST_ROOT)
         ;
-------------------------------------------------------

----
Lev Assinovsky
Aelita Software Corporation
O&S Core Division, Programmer
ICQ# 165072909
[Non-text portions of this message have been removed]

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