Hi,
Is there any way to get build to finish pass 2 on one directory before doing pass 1 on another directory?
Basically, I have a utility that consumes an EXE and spits out some data in the form of a .c file that then needs to get fed into another compilation.
I would like to have this all work magically using build, but I’m guessing this is not possible and I will have to do some custom build scripting code.
Any ideas?
Thanks,
Matt
See SYNCHRONIZE_DRAIN and SYNCHRONIZE_BLOCK macros.
BTW, have you tried to turn off multiprocessor build?
Best regards,
Michal Vodicka
UPEK, Inc.
[xxxxx@upek.com, http://www.upek.com]
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of
xxxxx@yahoo.com
Sent: Wednesday, November 11, 2009 12:59 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] Pass 2 output into Pass 1
Hi,
Is there any way to get build to finish pass 2 on one
directory before doing pass 1 on another directory?
Basically, I have a utility that consumes an EXE and spits
out some data in the form of a .c file that then needs to get
fed into another compilation.
I would like to have this all work magically using build, but
I’m guessing this is not possible and I will have to do some
custom build scripting code.
Any ideas?
Thanks,
Matt
NTDEV is sponsored by OSR
For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars
To unsubscribe, visit the List Server section of OSR Online
at http://www.osronline.com/page.cfm?name=ListServer
I believe SYNCHRONIZE_DRAIN \ SYNCHRONIZE_BLOCK only work in the same pass. Not across different passes?
I never really needed them so I don’t know. But docs doesn’t say
anything about passes and contains sentences as:
“Build.exe finishes building that directory before starting to build any
subsequent directories”
so I’d guess it doesn’t depend on passes (it wouldn’t make much sense).
Have you tried it?
Best regards,
Michal Vodicka
UPEK, Inc.
[xxxxx@upek.com, http://www.upek.com]
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of
xxxxx@yahoo.com
Sent: Wednesday, November 11, 2009 1:11 AM
To: Windows System Software Devs Interest List
Subject: RE:[ntdev] Pass 2 output into Pass 1
I believe SYNCHRONIZE_DRAIN \ SYNCHRONIZE_BLOCK only work in
the same pass. Not across different passes?
NTDEV is sponsored by OSR
For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars
To unsubscribe, visit the List Server section of OSR Online
at http://www.osronline.com/page.cfm?name=ListServer
SYNCHRONIZE_DRAIN definitely only effects pass 1.
Basically I am trying to get pass 0-2 run on one directory before the rest of the build starts. I tried to fiddle with NTTARGETFILE0 but I couldn’t make anything work.
If anyone has any other ideas on how to accomplish this that would be cool.
wrote in message news:xxxxx@ntdev…
> …
> If anyone has any other ideas on how to accomplish this that would be
> cool.
>
YAGNI?
http://en.wikipedia.org/wiki/You_Ain’t_Gonna_Need_It
http://rapd.wordpress.com/category/pragmatic-programming/
Regards,
–pa