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

2008-03-12 Thread Jorgen Bodde
Hi All, I have succesfully converted my source to use the latest find script. I have to say, GOD JOB! I wasn't expecting this level of flexibilityof the script. I didn't have to add anything whiel configuring. Simply configure and go! Thanks again for this effort. I will still keep thinking

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

2008-03-12 Thread Miguel A. Figueroa-Villanueva
On Wed, Mar 12, 2008 at 5:02 AM, Jorgen Bodde wrote: I have succesfully converted my source to use the latest find script. I have to say, GOD JOB! I wasn't expecting this level of flexibilityof the script. I didn't have to add anything whiel configuring. Simply configure and go! I'm glad

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

2008-03-11 Thread Jorgen Bodde
Hi All, After a (long) while I wanted to attend to my wxWidgets projects again which I generate from a CMake project. I generated, and found out the libs that were expected were still of the 2.6 version of wxWidgets, while they are at 2.8 already (soon 2.9 even). When it comes to using wxWidgets

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

2008-03-11 Thread Miguel A. Figueroa-Villanueva
On Tue, Mar 11, 2008 at 7:49 AM, Jorgen Bodde wrote: After a (long) while I wanted to attend to my wxWidgets projects again which I generate from a CMake project. I generated, and found out the libs that were expected were still of the 2.6 version of wxWidgets, while they are at 2.8

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

2008-03-11 Thread Bill Hoffman
Miguel A. Figueroa-Villanueva wrote: I believe that the best approach is something that we can convince the wxWidgets developers to integrate with there distribution. In the line of wx-config. Better yet would be to create a set of CMakeLists.txt files for the wxWidgets system. If you build

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

2008-03-11 Thread Jorgen Bodde
Hi Miquel, I am not here to critisize your work, on the contrary, your work is probably based on Jerry fath's work, which is based upon my work ;-) I did contribute to CMake too once a long while ago ;-) Current CVS/HEAD FindwxWidgets and I think the last release CMake 2.4.8 supports upto

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

2008-03-11 Thread Bill Hoffman
Jorgen Bodde wrote: Who knows the wx guys will evantually switch to Cmake after all. They arlready made a huge switch to Doxygen after sticking to LaTEX documentation for ages. If you look at an example bakefile for any potential project here: http://www.wxwidgets.org/wiki/index.php/Bakefile

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

2008-03-11 Thread Miguel A. Figueroa-Villanueva
On Tue, Mar 11, 2008 at 9:10 AM, Jorgen Bodde wrote: Hi Miquel, I am not here to critisize your work, on the contrary, your work is probably based on Jerry fath's work, which is based upon my work ;-) I did contribute to CMake too once a long while ago ;-) Don't worry, no offense taken. I

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

2008-03-11 Thread Miguel A. Figueroa-Villanueva
On Tue, Mar 11, 2008 at 9:18 AM, Bill Hoffman wrote: Jorgen Bodde wrote: Who knows the wx guys will evantually switch to Cmake after all. They arlready made a huge switch to Doxygen after sticking to LaTEX documentation for ages. If you look at an example bakefile for any potential

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

2008-03-11 Thread Jorgen Bodde
Hi Miquel / Bill / et al You mean generated at configuration/build time from the bakefile system? That seems like a good idea. They would have to generate different files probably, since different configurations co-exist. wxWidgets-unicode-release.cmake wxWidgets-unicode-static.cmake

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

2008-03-11 Thread Werner Smekal
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

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

2008-03-11 Thread Jorgen Bodde
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.