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

Jorgen Bodde jorgen.maillist at gmail.com
Tue Mar 11 11:45:48 EDT 2008


Hi Werner,

sorry I missed your original post. It is worth looking at to see if we
can produce some kind of CMake friendly script. I'm however not sure
what the best way is to solve this the most user friendly way to only
let the user determine which config he would like for his generated
project. I am not sure how wxconfig now handles multiple builds, if a
user builds all projects in the wxWidgets project file (DLL / static,
debug / release or unicode / ansi) I don't know how to let the user
decide which build to use without hacking the CMakeLists.txt provided
with the source that needs to be built.

Regards,
- Jorgen

On Tue, Mar 11, 2008 at 4:17 PM, Werner Smekal <smekal at iap.tuwien.ac.at> wrote:
> 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
>
>  _______________________________________________
>  CMake mailing list
>  CMake at cmake.org
>  http://www.cmake.org/mailman/listinfo/cmake
>


More information about the CMake mailing list