You can't do it with CMake as-is on a per configuration basis.

On Mon, Dec 10, 2012 at 11:18 PM, Matt Campbell <[email protected]> wrote:

> Hi,****
>
> ** **
>
> In Visual Studio, I can have a project set to build as a static lib in one
> configuration and a dynamic lib in another configuration. I cannot figure
> out how to accomplish this in cmake. If I add two targets, one as STATIC
> and one as SHARED the targets are added to all configuration types.****
>
> ** **
>
> Thanks in advance.****
>
> ** **
>
> -Matt****
>  ------------------------------
>  This email message is for the sole use of the intended recipient(s) and
> may contain confidential information.  Any unauthorized review, use,
> disclosure or distribution is prohibited.  If you are not the intended
> recipient, please contact the sender by reply email and destroy all copies
> of the original message.
>  ------------------------------
>
>
> --
>
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the CMake FAQ at:
> http://www.cmake.org/Wiki/CMake_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.cmake.org/mailman/listinfo/cmake
>
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to