[CMake] Visual Studio 10 and wxWidgets

Mauro Ziliani mauro.ziliani.tmp at gmail.com
Thu Dec 10 10:23:20 EST 2015


Hi all.
I'm in trouble with wxWidgets 3 and Visual Studio 10 express.

I need to change the type of libraries depending on the  configuration
compiler

If I compile in debug mode I need wxbase30ud.lib, while in release mode
wxbase30u

But if I generate the project for VS2010Express the  wxbase30u.lib is
always linked.

How can I setup my CMakeLists to have wxbase30ud when I build Debug and
wxbase30u in Release?

Thanks to all in advance.

MZ
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20151210/0fd256bb/attachment.html>


More information about the CMake mailing list