So I'm using the VS7.1 generator. I have IDL files which create header files in my binary output directory located here:<div><br></div><div> C:\Code\work\rdailey-t510-sandbox\build\common\exchange\gdexchsrvcommon\gdexchsrvcommon.dir\Debug</div>
<div><br></div><div>I need the path above to be an include directory, so I tried this before I created my target:</div><div><br></div><div><div> include_directories( "${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_CFG_INTDIR}" )</div>
<div><br></div><div>And upon inspection of this path in Visual Studio, I see:</div><div><br></div><div> C:\Code\work\rdailey-t510-sandbox\build\common\exchange\gdexchsrvcommon\$(OutDir)</div><div><br></div><div>According to Visual Studio, however, the following values apply:</div>
<div><br></div><div> $(OutDir) = "Debug"</div><div> $(IntDir) = "gdexchsrvcommon.dir\Debug"</div><div><br></div><div>In this case, $(IntDir) is what I want, since it has the "gdexchsrvcommon.dir" part of the path that $(OutDir) is missing. According to the documentation, $(OutDir) is the intended result outside of VS6.</div>
<div><br></div><div>What am I doing wrong here? How can I get the $(IntDir) path instead?</div><div><br></div><div>---------</div>Robert Dailey<br>
</div>