Re: [CMake] CMake 2.4 (8) & WxWidgets + RichText Pt 2

2008-04-25 Thread Miguel A. Figueroa-Villanueva
On Fri, Apr 25, 2008 at 5:11 AM, Werner Smekal wrote: > Hi Miguel, > > > > The use of the windows or unix way is based solely on the following: > > > > IF(WIN32) > > SET(WIN32_STYLE_FIND 1) > > ENDIF(WIN32) > > IF(MINGW) > > SET(WIN32_STYLE_FIND 0) > > SET(UNIX_STYLE_FIND 1) > > ENDIF(MINGW) > >

Re: [CMake] CMake 2.4 (8) & WxWidgets + RichText Pt 2

2008-04-25 Thread Werner Smekal
Hi Miguel, The use of the windows or unix way is based solely on the following: IF(WIN32) SET(WIN32_STYLE_FIND 1) ENDIF(WIN32) IF(MINGW) SET(WIN32_STYLE_FIND 0) SET(UNIX_STYLE_FIND 1) ENDIF(MINGW) IF(UNIX) SET(UNIX_STYLE_FIND 1) ENDIF(UNIX) I just want to mention, that the above code is

Re: [CMake] CMake 2.4 (8) & WxWidgets + RichText Pt 2

2008-04-21 Thread Miguel A. Figueroa-Villanueva
On Mon, Apr 21, 2008 at 1:36 PM, Eric Torstenson wrote: > On Mon, Apr 21, 2008 at 12:27 PM, Miguel A. Figueroa-Villanueva wrote: > > Hello Eric, > > > > I'm glad to here this worked. Now, I would like to understand the > > problem, so that I can fix the FindwxWidgets module. Can you post > > exactl

Re: [CMake] CMake 2.4 (8) & WxWidgets + RichText Pt 2

2008-04-21 Thread Eric Torstenson
Hi Miguel, Well, with this in mind, I did a bit of playing, and decided that the problem wasn't so much that FindwxWidgets.cmake needed to be changed, but instead, I was calling it incorrectly. What I had to do was as follows: SET (wxWidgets_USE_LIBS aui richtext adv html core xml base xrc q

Re: [CMake] CMake 2.4 (8) & WxWidgets + RichText Pt 2

2008-04-21 Thread Miguel A. Figueroa-Villanueva
On Mon, Apr 21, 2008 at 10:55 AM, Eric Torstenson wrote: > Alan W. Irwin wrote: > > To see what is going on, check the FindwxWidgets.cmake file. For example, > > on my Debian testing system with CMake 2.4.8, that file is located at > > /usr/share/cmake-2.4/Modules/FindwxWidgets.cmake. There is a

Re: [CMake] CMake 2.4 (8) & WxWidgets + RichText Pt 2

2008-04-21 Thread Eric Torstenson
That did the trick (editing the FindwxWidgets.cmake) Thanks so much! eric Alan W. Irwin wrote: To see what is going on, check the FindwxWidgets.cmake file. For example, on my Debian testing system with CMake 2.4.8, that file is located at /usr/share/cmake-2.4/Modules/FindwxWidgets.cmake. The

Re: [CMake] CMake 2.4 (8) & WxWidgets + RichText Pt 2

2008-04-19 Thread Miguel A. Figueroa-Villanueva
On Fri, Apr 18, 2008 at 5:50 PM, Eric Torstenson wrote: > I managed to find the ultimate cause of manual assignment using wx-config > and CMAKE_CXX_FLAGS. This is what I was trying to do originally, but never > had a successful link. This is directly calling "wx-config" myself, and then > attemptin

Re: [CMake] CMake 2.4 (8) & WxWidgets + RichText Pt 2

2008-04-18 Thread Alan W. Irwin
To see what is going on, check the FindwxWidgets.cmake file. For example, on my Debian testing system with CMake 2.4.8, that file is located at /usr/share/cmake-2.4/Modules/FindwxWidgets.cmake. There is a list of components in that file such as base core adv, etc., but no richtext. So I suggest

[CMake] CMake 2.4 (8) & WxWidgets + RichText Pt 2

2008-04-18 Thread Eric Torstenson
I managed to find the ultimate cause of manual assignment using wx-config and CMAKE_CXX_FLAGS. This is what I was trying to do originally, but never had a successful link. This is directly calling "wx-config" myself, and then attempting to pass the results to the linker call. When I add them