Hi,
In meantime I have created a dependencies graph. In the Screenshot attached
you can see the dependencies graph a part of my build process. That part is
done with following commands in 3 tupfiles:
Tupfile 1:
: ..\ApplModMgr.slx |> ^ GEN_MATLAB %f^ cmd.exe /c
$(SCRIPTPATH)\Cmd\matlab_prod.cmd %B|> ApplModMgr.c
..\..\..\Out\%B_matlab_command.log
Tupfile 2:
# generate lookup table data files from .xml files
: foreach $(XMLS) |> ^ GEN_A2L %f^ python.exe -B
$(SCRIPTPATH)\Python\CreateAnsiCFile.py %f none . |> %B_Asap2.c %B_Asap2.h
%B_If.h %B.a2l
# compile source files
: foreach $(SRCS) |> !cc |> {OBJS}
# incrementally link object files
: {OBJS} |> !li |> App.out
Tupfile 3:
: $(SRCS) |> !li |> Out/All.out
and tuprules:
# macro for calling the C compiler
!cc = | $(GENHEADERS) |> ^ CC %f^ cctc.exe $(CFLAGS) $(CFLAGS_%f) -co -o %o
%f |> %B.o
# macro for calling the incremental linker
!li = |> ^ LI %o^ cctc.exe $(LIFLAGS) $(LSLFILE) -cl -o %o %f |> | %O.mdf
Here you can see that the input of the "first" executed command is not
shown in the graph and all other inputs are connected to the commands via
dotted lines.In the tup tutorial is written, that dotted lines have the
meaning that the input file are listed in the tupfiles but tup decides that
the input does not influence the output of the command. I guess that there
is an error in the configuration or something like that.What do you think?
If you need additional information please let me know.
--
--
tup-users mailing list
email: [email protected]
unsubscribe: [email protected]
options: http://groups.google.com/group/tup-users?hl=en
---
You received this message because you are subscribed to the Google Groups
"tup-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.