On Mon, Nov 2, 2009 at 3:48 PM, Roger Dannenberg <r...@cs.cmu.edu> wrote:
> Is it possible for cmake to create VisualStudio projects that have a
> different set of libraries ("AdditionalDependencies") for each configuration
> type?
>
> Specifically, I want to link my application's Debug version with mylib.lib,
> which is a dynamic library, and my application's Release version with
> mylib-s.lib, which is a static library.
>
> I know that I could differentiate the libraries as debug/mylib.lib and
> release/mylib.lib, but having dynamic and static library versions with the
> same name has caused me a lot of headaches, so I'm trying to keep the names
> separate.

Yes. Take a look at FindQt4.cmake for instance. You are interested in
the CMAKE_CONFIGURATION_TYPES stuff.


-- 
Pau Garcia i Quiles
http://www.elpauer.org
(Due to my workload, I may need 10 days to answer)
_______________________________________________
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