Re: [CMake] How to find wxWidgets with cmake under Windows?

2008-07-05 Thread Bob Paddock
> Ok, the problem is that you are finding wxWidgets "Unix Style"... I started with a CMakeLists.txt file from Linux, where it works fine. Is that bad? I'm trying to build with Mingw32-gcc. This part of what I have: # Find package for wxWidgets is required: FIND_PACKAGE( wxWidgets COMPONENTS

Re: [CMake] How to find wxWidgets with cmake under Windows?

2008-07-05 Thread Miguel A. Figueroa-Villanueva
On Sat, Jul 5, 2008 at 6:58 PM, Bob Paddock wrote: >> The FindwxWidgets module just finds the already built wxWidgets libs >> to use in your app. >> >> That said, I need to add the wxWidgets-2.8.8 prefix to the search >> locations. I don't use the installer, > > Normally I don't either. I only did

Re: [CMake] How to find wxWidgets with cmake under Windows?

2008-07-05 Thread Bob Paddock
> I hope you mean, "build a wxWidgets *app* with Windows XP with MinGW". Yes, sorry. Was feeling frustrated that something that I thought was going to be simple wasn't. > The FindwxWidgets module just finds the already built wxWidgets libs > to use in your app. > > That said, I need to add the

Re: [CMake] pkg-config and Cross_compiling

2008-07-05 Thread Enrico Scholz
Wookey <[EMAIL PROTECTED]> writes: > I tried to fix the FindPkgConfig.cmake file to automaticaly do this, > but found that it uses execute_process to call pkg-config and there > seems to be no way to set an environment variable with this call. Am I > missing something? Fixing this module to look i

Re: [CMake] pkg-config and Cross_compiling

2008-07-05 Thread Alexander Neundorf
On Thursday 03 July 2008, Wookey wrote: > On 2008-07-02 19:39 +0200, Hendrik Sattler wrote: > > Am Mittwoch, 2. Juli 2008 18:59:37 schrieb Wookey: > > > I tried to fix the FindPkgConfig.cmake file to automaticaly do this, > > > but found that it uses execute_process to call pkg-config and there > >

Re: [CMake] pkg-config and Cross_compiling

2008-07-05 Thread Alexander Neundorf
On Wednesday 02 July 2008, Hendrik Sattler wrote: > Am Mittwoch, 2. Juli 2008 18:59:37 schrieb Wookey: ... > Additionally, I found that the include paths are another source of > problems, not fully covered by the cmake cross compiling, yet. You really > have to -I any path that is not known and spe

Re: [CMake] Generate docbook and PDF documentation with CMake

2008-07-05 Thread Alexander Neundorf
On Monday 30 June 2008, Judicaƫl Bedouet wrote: > Hello, > > I successfully generate a docbook file for my custom modules with CMake. > Now, I would like to generate a PDF file. So I try dblatex --pdf mydocbook. > > dblatex finds one error at the beggining of the file. It doesn't like > an empty it

Re: [CMake] How to find wxWidgets with cmake under Windows?

2008-07-05 Thread Miguel A. Figueroa-Villanueva
On Sat, Jul 5, 2008 at 12:40 PM, Bob Paddock wrote: > > I need to build wxWidgets, under Windows XP with MingW. > > I have a Linux CMakeLists.txt that works fine under Linux, > but cmake 2.6 under Windows tells me "wxWidgets not found". > > I have installed wx288.exe that should have set the regist

[CMake] How to find wxWidgets with cmake under Windows?

2008-07-05 Thread Bob Paddock
I need to build wxWidgets, under Windows XP with MingW. I have a Linux CMakeLists.txt that works fine under Linux, but cmake 2.6 under Windows tells me "wxWidgets not found". I have installed wx288.exe that should have set the registry key, and I have set wxwin to point at C:\wxwidgets-2.8.8 Wh

Re: [CMake] find_package REQUIRED

2008-07-05 Thread Miguel A. Figueroa-Villanueva
On Sat, Jul 5, 2008 at 6:17 AM, Alexander Bubnov wrote: > Hello, Miguel! > Many thanks for clarification. No problem; glad to help. > And thank you very much for you job and cmake product. Well, I contribute a few very small pieces to cmake, but I'm not part of the Kitware folks who are responsi

Re: [CMake] find_package REQUIRED

2008-07-05 Thread Alexander Bubnov
Hello, Miguel! Many thanks for clarification. And thank you very much for you job and cmake product. 2008/7/4, Miguel A. Figueroa-Villanueva <[EMAIL PROTECTED]>: > On Fri, Jul 4, 2008 at 10:17 AM, Alexander Bubnov wrote: > > Hello! > > I am exploring cmake features. Now I have stopped at find_p