[Cmake] Debug and Release project settings for VC++ 6.0

Andy Cedilnik andy.cedilnik at kitware.com
Wed Mar 26 18:08:14 EST 2003


Hi Sunil,

1:

    TARGET_LINK_LIBRARIES (xyz
                           some_lib
                           debug some_debug_lib
                           optimized some_nondebug_lib)

			Andy

On Wed, 2003-03-26 at 18:01, Sunil Movva wrote:
> 1. I need to link my application with different libraries for Debug
> and Release versions.
> Say, I have Ad.lib and A.lib. My release project settings should link
> against A.lib 
> and debug settings should link against Ad.lib. 
> 
> 2. I would also like to have different output library names for
> release and debug versions. 
> ADD_LIBRARY(SHARED xyz) would generate Debug/xyz.dll and
> Release/xyz.dll.
> But I would like to have Debug/xyzd.dll and Release/xyz.dll.
> 
> I would appreciate if someone could give me a cmake example with this
> scenarios.
>  
> thanks,
> Sunil
> 




More information about the CMake mailing list