[CMake] Building to a subdirectory UNDER Debug/Release/etc in a Visual Studio build

Mike Arthur mike at mikearthur.co.uk
Mon Jun 23 06:17:07 EDT 2008


On Friday 20 June 2008 20:50:54 Philip Lowman wrote:
> You may also be able to use the PREFIX hack to change the location where
> the target is generated.
>
> IF(MSVC)
>    SET_TARGET_PROPERTIES(foo PROPERTIES PREFIX "modules/")
> ENDIF(MSVC)
Filthy but works nicely. Thanks!


-- 
Cheers,
Mike Arthur


More information about the CMake mailing list