h file changed and compilation does not detect it
- From: "Tomer Laor" <TomerLaor@xxxxxxxxxxxxxxx>
- Date: Thu, 1 Mar 2007 13:46:07 +0200
Hi,
The Problem in short:
My problem is that when I change h file the Visual Studio 6 compiler does
not detect it and does not compile the cpp files that includes it. This
problem happens only for the Visual studio 6 compiler, it does not
reproduced in Visual studio 7.0/7.1.
Details:
I have C++ code that needs to be compiled on Visual Studio 6, Visual
Studio7.0 and Visual Studio7.1.
I also have Visual studio 6 dsp/dsw projects and workspaces that I work
with.
When I'm compiling the code to Visual Studio 7.1 I'm converting the dsw/dsp
and then I'm compiling the sln/vcproj files through the IDE (2002/2003).
Now I need to support Visual Studio 8 on IA32 and x64 platforms.
I decided to convert the dips and dsw to visual studio 7.1 vcproj files. To
always work with 2003 IDE and to control the different compilers through the
VC++ directories.
Each Compiler/Platform has it's own output and objects folder and
compilation works well.
My problem is that when I change h file the Visual Studio 6 compiler does
not detect it and does not compile the cpp files that includes it. This
problem happens only for the Visual studio 6 compiler, it does not
reproduced in Visual studio 7.0/7.1.
I did fount out that by changing the h file tool from to custom build tool
to C/C++ compiler tool the cpp files depended on the h file in the same
vcproj files are compiled, but cpp files in other vcproj files that should
be compiled are ignored.
Do you know how to solve this problem ?
I'm using Visual studio 2003 SP1, I'm not sure about the exact Visual Studio
6 sp I have I think it is sp5, the cl.exe file version of my Visual Studio
6 compiler is 12.0.8804.0 .
Thank you
Tomer Laor
.
- Next by Date: Createing an ISAPI extension DLL
- Next by thread: Createing an ISAPI extension DLL
- Index(es):
Relevant Pages
|