[CMake] CMake, Windows and choosing which variables are required

2007-04-16 Thread PA Galmes
Hello, Following the thread http://www.cmake.org/pipermail/cmake/2007-April/013454.html we were wondering how cmake choose which variables are required and which are not. Just read the quote: >* Currenly, under Windows, when I click on the configure button in CMAKE, it *>* says: *>* *>* - I di

Re: [CMake] Re: FindSDL.cmake and mingw / msys

2007-04-04 Thread PA Galmes
On 4/1/07, E. Wing <[EMAIL PROTECTED]> wrote: > Maybe this could be implemented in a major release of CMake, thus > developers would be aware that changes are required to their scripts. > As soon as it is advertized enought, it's ok. I'm more inclined to leave the current behavior, and when SDL

Fwd: [CMake] Re: FindSDL.cmake and mingw / msys

2007-03-31 Thread PA Galmes
-- Forwarded message -- From: PA Galmes <[EMAIL PROTECTED]> Date: Mar 31, 2007 4:07 PM Subject: Re: [CMake] Re: FindSDL.cmake and mingw / msys To: "E. Wing" <[EMAIL PROTECTED]> On 3/28/07, E. Wing <[EMAIL PROTECTED]> wrote: So I'm c

Re: [CMake] Re: FindSDL.cmake and mingw / msys

2007-03-25 Thread PA Galmes
On 3/24/07, E. Wing <[EMAIL PROTECTED]> wrote: The SDL_LIBRARY_TEMP solution comes from something I think Bill suggested to me. It seemed to work cleaner than the above solutions, but I overlooked the fact that SDL_LIBRARY_TEMP must be set before SDL_LIBRARY is created. Still, all-in-all, I th

Re: [CMake] Re: FindSDL.cmake and mingw / msys

2007-03-23 Thread PA Galmes
On 3/22/07, E. Wing <[EMAIL PROTECTED]> wrote: > And if I check all variables using the "show advanced values", > SDL_LIBRARY is nowhere. The only other variable is SDL_LIBRARY_TEMP > showing the value "SDL_LIBRARY_TEMP-NOT-FOUND". > > Any clue? Yeah, this is an artifact of how the script works

Re: [CMake] Re: FindSDL.cmake and mingw / msys

2007-03-22 Thread PA Galmes
On 3/13/07, Werner Smekal <[EMAIL PROTECTED]> wrote: Hi Pierre, Hi Werner, okay, I looked at FindSDL.cmake more carefully. First I think you should make sure that SDL is actually found. You should have something like this in you cmakeLists.txt: find_package(SDL) if( NOT SDL_FOUND ) mess

Fwd: [CMake] Re: FindSDL.cmake and mingw / msys

2007-03-22 Thread PA Galmes
-- Forwarded message -- From: PA Galmes <[EMAIL PROTECTED]> Date: Mar 22, 2007 6:22 PM Subject: Re: [CMake] Re: FindSDL.cmake and mingw / msys To: "E. Wing" <[EMAIL PROTECTED]> Hi Eric, sorry for replying so late. On 3/13/07, E. Wing <[EMAIL PROTECT

Re: [CMake] Re: FindSDL.cmake and mingw / msys

2007-03-13 Thread PA Galmes
On 3/13/07, Werner Smekal <[EMAIL PROTECTED]> wrote: > Hi, Hi Wermer > reading the bug report, the problem is: > > # MinGW needs an additional library, mwindows > # It's total link flags should look like -lmingw32 -lSDLmain -lSDL > -lmwindows > # (Actually on second look, I think it only

Re: [CMake] Re: FindSDL.cmake and mingw / msys

2007-03-13 Thread PA Galmes
On 3/13/07, Werner Smekal <[EMAIL PROTECTED]> wrote: Hi, Hi Wermer reading the bug report, the problem is: # MinGW needs an additional library, mwindows # It's total link flags should look like -lmingw32 -lSDLmain -lSDL -lmwindows # (Actually on second look, I think it only needs one of

[CMake] Re: FindSDL.cmake and mingw / msys

2007-03-13 Thread PA Galmes
On 2/24/07, PA Galmes <[EMAIL PROTECTED]> wrote: Hello, I've been playing for some days with cmake, and I have to say that I quite love the way it works. But while trying to compile a sourceforge project under Windows using MSYS, I run into a problem. I do not know if the problem

[CMake] FindSDL.cmake and mingw / msys

2007-02-24 Thread PA Galmes
Hello, I've been playing for some days with cmake, and I have to say that I quite love the way it works. But while trying to compile a sourceforge project under Windows using MSYS, I run into a problem. I do not know if the problem is related to the CMakeLists.txt that I did not wrote correctly