%%%-----------------------------------------------------------
%%% Copyright Christian Arnault LAL-Orsay CNRS
%%% arnault@lal.in2p3.fr
%%% See the complete license in cmt_license.txt "http://www.cecill.info". 
%%%-----------------------------------------------------------

%%package P1
project P1

%%package P2
project P2

%%package B
use P1

apply_tag t1

macro bbb "" \
      t1&t2 "bbb12" \
      t1 "bbb1" \
      t2 "bbb2"

%%package C
use P2

apply_tag t1
apply_tag t2

macro bbc "" \
      t1&t2 "bbc12" \
      t1 "bbc1" \
      t2 "bbc2"


%%package D
%%package A
use B
use C
use D

%%cdpackage A
%%cmt show uses
%%cmt show macros bb
%%cmt -tag_add=t2 show macros bb
