[CMake] Add configuration support to include_directories()

Tyler Roscoe tyler at cryptio.net
Mon Dec 22 18:58:11 EST 2008


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.

tyler


More information about the CMake mailing list