[CMake] Visual Studio 10 and wxWidgets
Mauro Ziliani
mauro.ziliani.tmp at gmail.com
Fri Dec 11 14:05:17 EST 2015
I miss some lines.
This is that works
On Fri, Dec 11, 2015 at 7:06 PM, Mauro Ziliani <mauro.ziliani.tmp at gmail.com>
wrote:
> Hi all.
> I solved my problem with a custom script.
>
> I attach it to this message.
> The script is very very poor, but for my purpouse it works.
>
> The script should be simply included
>
> MZ
>
> On Thu, Dec 10, 2015 at 4:23 PM, Mauro Ziliani <
> mauro.ziliani.tmp at gmail.com> wrote:
>
>> 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/20151211/44573ee8/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wxwidgets.cmake
Type: application/octet-stream
Size: 1942 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/cmake/attachments/20151211/44573ee8/attachment.obj>
More information about the CMake
mailing list