[CMake] CMAKE_INTDIR / CMAKE_CFG_INTDIR
Mike Arthur
mike at mikearthur.co.uk
Tue Feb 17 12:52:56 EST 2009
On Tuesday 17 February 2009 17:34:20 Pau Garcia i Quiles wrote:
> I want Visual C++ to output executables, DLLs, etc to the builddir
> without creating "Release", "Debug", "RelWithDebInfo", etc
> directories. In our case, this would be very convenient for debugging.
>
> I have found the CMAKE_INTDIR and CMAKE_CFG_INTDIR variables but
> neither SET( CMAKE_INTDIR "." ) nor SET( CMAKE_CFG_INTDIR "." )
> achieve what I want (in the VC++ project, CMAKE_INTDIR still has the
> release type value). Is it possible to change this value at all? How?
> (SET_TARGET_PROPERTIES?)
This can't be done (as far as I can tell).
The only way of achieving something similar is to use NMake makefiles instead
of using a MSVC project, which doesn't set CMAKE_INTDIR.
--
Cheers,
Mike Arthur
http://mikearthur.co.uk/
More information about the CMake
mailing list