Re: [CMake] Problem with recognising the MSYS environment

2009-04-22 Thread Arjen Markus
On 2009-04-17 10:02, Hendrik Sattler wrote: Zitat von Arjen Markus arjen.mar...@deltares.nl: With -G MSYS Makefiles I do get the proper setting for MSYS. The find_library command still insists on using the MS Visual C/C++ versions of the libraries, though, so I need to use my workaround still.

Re: [CMake] Problem with recognising the MSYS environment

2009-04-17 Thread Arjen Markus
On 2009-04-16 12:41, Maik Beckmann wrote: Arjen Markus schrieb am Donnerstag 16 April 2009 um 12:07: On 2009-04-16 10:43, Maik Beckmann wrote: MSYS has its own generator, so this should be cmake -G MSYS Makefiles Hm, could that be the problem? I noticed that CMake is indeed reacting

Re: [CMake] Problem with recognising the MSYS environment

2009-04-17 Thread Hendrik Sattler
Zitat von Arjen Markus arjen.mar...@deltares.nl: With -G MSYS Makefiles I do get the proper setting for MSYS. The find_library command still insists on using the MS Visual C/C++ versions of the libraries, though, so I need to use my workaround still. But at least one point is solved. What

Re: [CMake] Problem with recognising the MSYS environment

2009-04-17 Thread Arjen Markus
Hello Hendrik, we are looking for the import libraries for the system libraries gdi32.dll and comdlg32.dll on Windows XP. These import libraries are compiler-dependent, so perhaps target_link_libraries() is indeed a better solution. Regards, Arjen On 2009-04-17 10:02, Hendrik Sattler wrote:

Re: [CMake] Problem with recognising the MSYS environment

2009-04-17 Thread Werner Smekal
Hi, On 17.04.2009, at 10:02, Hendrik Sattler wrote: Zitat von Arjen Markus arjen.mar...@deltares.nl: With -G MSYS Makefiles I do get the proper setting for MSYS. The find_library command still insists on using the MS Visual C/C++ versions of the libraries, though, so I need to use my

Re: [CMake] Problem with recognising the MSYS environment

2009-04-17 Thread Hendrik Sattler
Zitat von Werner Smekal sme...@iap.tuwien.ac.at: On 17.04.2009, at 10:02, Hendrik Sattler wrote: Find_library() should only be used for libraries that are not system or compiler specific, e.g. you look but libfoo but never for libm. But then cmake will complain/warn that you mix

[CMake] Problem with recognising the MSYS environment

2009-04-16 Thread Arjen Markus
Hello, in the PLplot project I have run into a few problems with the MSYS environment under Windows XP. The first one is that the CMake variable MSYS does not get set properly - or else I am doing something wrong. Here is what I do to work under MSYS: - Start the rxvt console (via a shortcut

Re: [CMake] Problem with recognising the MSYS environment

2009-04-16 Thread Maik Beckmann
Arjen Markus schrieb am Donnerstag 16 April 2009 um 09:32: Hello, in the PLplot project I have run into a few problems with the MSYS environment under Windows XP. The first one is that the CMake variable MSYS does not get set properly - or else I am doing something wrong. Here is what I do

Re: [CMake] Problem with recognising the MSYS environment

2009-04-16 Thread Arjen Markus
On 2009-04-16 10:43, Maik Beckmann wrote: Arjen Markus schrieb am Donnerstag 16 April 2009 um 09:32: Hello, in the PLplot project I have run into a few problems with the MSYS environment under Windows XP. The first one is that the CMake variable MSYS does not get set properly - or else I am

Re: [CMake] Problem with recognising the MSYS environment

2009-04-16 Thread Maik Beckmann
Arjen Markus schrieb am Donnerstag 16 April 2009 um 12:07: On 2009-04-16 10:43, Maik Beckmann wrote: MSYS has its own generator, so this should be cmake -G MSYS Makefiles Hm, could that be the problem? I noticed that CMake is indeed reacting differently if -G is set differently: - No