On Mon, Dec 22, 2008 at 5:58 PM, Tyler Roscoe <ty...@cryptio.net> wrote:
> On Mon, Dec 22, 2008 at 05:55:10PM -0600, Robert Dailey wrote: > > I apologize, but I don't see how this could possibly work for visual > studio > > output. It seems like you'd have 1 set of visual studio projects for > debug > > and one set for release. You don't know if the build type is debug or > > release in CMake because the configuration is "dynamically chosen", which > > basically means the user chooses the configuration *after* the CMake > targets > > have been generated. > > Investigate CMAKE_CFG_INTDIR. I believe for Visual Studio output, this will be $(OutDir), right? If this is the case, this is a visual studio environment variable that will have no meaning when used in CMake scripts.
_______________________________________________ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake