[CMake] Somehow making life easier with wxWidgets ...

Werner Smekal smekal at iap.tuwien.ac.at
Tue Mar 11 11:17:40 EDT 2008


Hi Jorgen,

> 
> I wanted to do exactly that. Create a small executable that could
> function as a wx-config.exe for wxWidgets on Windows where CMAKE could
> benefit from the variables being set, and then kind of making the find
> process more integrated with the wxWidgets distribution. I would
> create it as rigorous as possible by scanning for the library files
> needed, registry keys and what not just to reliably find the
> installation.

There is some tool like that you have in mind already

http://wxconfig.googlepages.com/

it will not have cmake compatible output maybe, but maybe you could
start from there?
> 
> But it seems I will have to do some homework first. My need for this
> script came from the fact I believed that the findwxWidgets.cmake was
> outdated, but it is not. My apologies again.

I also think that the cmake module works quite fine, altough have have
to set many options/definitions at the cmake configuration stage if you
don't have standard build of wxwidgets - which is quite logically, since
how should it find out automatically how I set up wxWidgets.

Regards,
Werner

-- 
Dr. Werner Smekal
Institut fuer Allgemeine Physik
Technische Universitaet Wien
Wiedner Hauptstr 8-10
A-1040 Wien
Austria

email: smekal at iap.tuwien.ac.at
web:   http://www.iap.tuwien.ac.at/~smekal
phone: +43-(0)1-58801-13463 (office)
        +43-(0)1-58801-13469 (laboratory)
fax:   +43-(0)1-58801-13499



More information about the CMake mailing list