Hello,
I have a C++ project that is built using Visual Studio .NET. The
source code is configuration-managed in Clearcase so that I build out
of a Snapshot view on my Windows XP PC. I am able to check files
in/out from the Visual Studio. When building my project, I would like
to generate a build log that contains clearcase version-extended
pathnames to the source files , as in file.c@@/main/3. This way I know
exactly what version of source file make up my build. With prior
versions of Visual Studio, I could export a Makefile and run it using
clearmake or omake thus generating a Configuration Record file. Since
this is no longer an option, I was wondering if there is a way to make
Studio generate version-extended pathnames as it builds a project.
So far I tried to add a custom-build step that would run alongside
with compilation. For every source file getting compiled, I want to
execute something like "cleartool ls -short $(InputFileName)" >>
buildlog.txt" (in a batch file or just like this)
However, the menu pull-down options seem to only let me replace the
standard C/C++ compilation with the custom step but not add on to the
standard C/C++ compilation. Is it possible to add a custom step to the
regular compilation step?
If this is not possible, can anyone think of a way to use a Pre-Link,
Pre-Build, or Post-Build step for this?
Any other ideas are appreciated.
Thanks
Rachel