Ok, that's the conclusion I came to as well. That being said, CMake's approach 
is fine too.

Thanks.

-Matt

From: David Cole [mailto:[email protected]]
Sent: Tuesday, December 11, 2012 10:41 AM
To: Matt Campbell
Cc: [email protected]
Subject: Re: [CMake] static and dynamic libraries based on configuration type

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]<mailto:[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<http://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