[CMake] CMAKE_INTDIR / CMAKE_CFG_INTDIR
Philip Lowman
philip at yhbt.com
Tue Feb 17 21:55:24 EST 2009
On Tue, Feb 17, 2009 at 12:34 PM, Pau Garcia i Quiles
<pgquiles at elpauer.org>wrote:
> Hello,
>
> 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?)
>
>
You can use the PREFIX hack for this. Just set to "../"
http://www.mail-archive.com/cmake@cmake.org/msg14083.html
--
Philip Lowman
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20090217/426ae08e/attachment.htm>
More information about the CMake
mailing list