Re: [CMake] cmakelists.txt for GraphicsMagick or ImageMagick

2009-04-25 Thread Boudewijn Rempt
On Saturday 25 April 2009, Pau Garcia i Quiles wrote:
 On Fri, Apr 24, 2009 at 7:13 PM, Miguel A. Figueroa-Villanueva

 migu...@ieee.org wrote:
  On Fri, Apr 24, 2009 at 6:14 AM, Boudewijn Rempt wrote:
  Has anyone by any chance already done a CMakeLists.txt file for
  GraphicsMagick or ImageMagick? I'd like to integrate either in the build
  of our application, instead of relying on installed packages, but I'd
  hate to do duplicate work...
 
  Doesn't the FindImageMagick.cmake in the CMake Modules directory
  satisfy your needs?

 I think what Boud wants to do is exactly the opposite of what
 FindImageMagick.cmake does: he wants to vendor
 ImageMagick/GraphicsMagick, i. e. add the sources to some subdirectory
 in his software, then build ImageMagick/GraphicsMagick when he builds
 his software.

Exactly :-). Right now GrapicsMagick is build using autoconf and visual 
studio, and I want to integrate it with our daily build system.

-- 
Boudewijn Rempt | http://www.valdyas.org
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake


Re: [CMake] cmakelists.txt for GraphicsMagick or ImageMagick

2009-04-25 Thread Boudewijn Rempt
On Saturday 25 April 2009, Philip Lowman wrote:

 If someone ends up doing this please consider submitting the work to
 CMakePorts.
 http://code.google.com/p/cmakeports

If nobody has done it before I'll probably have to do it, but it won't be 
totally production quality. GraphicsMagick is a pretty complicated beast. I'm 
also considering contacting Bob Friesenhahn directly to see whether he's 
interested in having it directly in GM.

-- 
Boudewijn Rempt | http://www.valdyas.org
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake


Re: [CMake] Problem with NMake generator after upgrade from 2.4.6 to 2.6.3

2009-04-25 Thread Dieter Oberkofler
Thank you for your quick feedback!

1) Why does this warning appear in the first place and can it be disabled? 
2) Is there a simple change log explaining what new features might be
available in each release?

-Dieter

 -Original Message-
 From: Bill Hoffman [mailto:bill.hoff...@kitware.com] 
 Sent: Saturday, April 25, 2009 3:22 PM
 To: doberkofler.li...@gmail.com
 Cc: CMake@cmake.org
 Subject: Re: [CMake] Problem with NMake generator after 
 upgrade from 2.4.6 to 2.6.3
 
 Dieter Oberkofler wrote:
  After having upgraded CMake from 2.4.6 to 2.6.3 I received the 
  following warning
  
  ==
  ...
  -- The C compiler identification is MSVC
  -- The CXX compiler identification is MSVC CMake Warning at 
 C:/Program 
  Files/CMake
  2.6/share/cmake-2.6/Modules/Platform/Windows-cl.cmake:32 
 (ENABLE_LANGUAGE):
To use the NMake generator, cmake must be run from a 
 shell that can 
  use the
compiler cl from the command line.  This environment does 
 not contain
INCLUDE, LIB, or LIBPATH, and these must be set for the 
 cl compiler to
work.
  Call Stack (most recent call first):
C:/Program Files/CMake
  2.6/share/cmake-2.6/Modules/CMakeCInformation.cmake:39 (INCLUDE) ...
  ==
  
  and CMake aborts.
 
 Cmake should not abort, that is just a warning.  It is fixed in the
 2.6.4 RC 4, found here:
 http://www.cmake.org/files/v2.6/?C=M;O=D
 
 -Bill
 
   
  The CMakeList.txt files and the environment did not change 
 at all and 
  the compiler (cl.exe) can be executed from the same command 
 line I'm 
  executing cmake from.
   
  Any help would be appreciated.
   
  -Dieter
  
  ___
  Powered by www.kitware.com
  
  Visit other Kitware open-source projects at 
  http://www.kitware.com/opensource/opensource.html
  
  Please keep messages on-topic and check the CMake FAQ at: 
  http://www.cmake.org/Wiki/CMake_FAQ
  
  Follow this link to subscribe/unsubscribe:
  http://www.cmake.org/mailman/listinfo/cmake
  
 

___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake


Re: [CMake] Problem with NMake generator after upgrade from 2.4.6 to 2.6.3

2009-04-25 Thread Bill Hoffman

Dieter Oberkofler wrote:

Thank you for your quick feedback!

1) Why does this warning appear in the first place and can it be disabled? 
It was a bug.   No way to fix it but use the next version of cmake.  I 
was trying to detect and warn people when they tried to use nmake with 
an in correct env.   Some of the compilers use LIBPATH and some do not, 
unfortunately, the one I tested with did use it



2) Is there a simple change log explaining what new features might be
available in each release?

Yes.
http://www.cmake.org/files/v2.6/CMakeChangeLog-2.6.3




-Dieter


-Original Message-
From: Bill Hoffman [mailto:bill.hoff...@kitware.com] 
Sent: Saturday, April 25, 2009 3:22 PM

To: doberkofler.li...@gmail.com
Cc: CMake@cmake.org
Subject: Re: [CMake] Problem with NMake generator after 
upgrade from 2.4.6 to 2.6.3


Dieter Oberkofler wrote:
After having upgraded CMake from 2.4.6 to 2.6.3 I received the 
following warning


==
...
-- The C compiler identification is MSVC
-- The CXX compiler identification is MSVC CMake Warning at 
C:/Program 

Files/CMake
2.6/share/cmake-2.6/Modules/Platform/Windows-cl.cmake:32 

(ENABLE_LANGUAGE):
  To use the NMake generator, cmake must be run from a 
shell that can 

use the
  compiler cl from the command line.  This environment does 

not contain
  INCLUDE, LIB, or LIBPATH, and these must be set for the 

cl compiler to

  work.
Call Stack (most recent call first):
  C:/Program Files/CMake
2.6/share/cmake-2.6/Modules/CMakeCInformation.cmake:39 (INCLUDE) ...
==

and CMake aborts.

Cmake should not abort, that is just a warning.  It is fixed in the
2.6.4 RC 4, found here:
http://www.cmake.org/files/v2.6/?C=M;O=D

-Bill

 
The CMakeList.txt files and the environment did not change 
at all and 
the compiler (cl.exe) can be executed from the same command 
line I'm 

executing cmake from.
 
Any help would be appreciated.
 
-Dieter


___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html


Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ


Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake






___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake


Re: [CMake] Problem with NMake generator after upgrade from 2.4.6 to 2.6.3

2009-04-25 Thread Dieter Oberkofler
I'm also having problems with a library in the format
D:\MyDev\ljs_app\trunk\tools\..\xvt\win\lib\tls12dvc71.
This library was successfully processed in CMake 2.4.6 but when using 2.6.4
nmake issues the following error message:
NMAKE : fatal error U1073: don't know how to make
'D:\MyDev\ljs_app\trunk\tools\..\xvt\win\lib\tls12dvc71'
Could this be related to a change in CMake's behaviour?
Thank you
-Dieter 

 -Original Message-
 From: Bill Hoffman [mailto:bill.hoff...@kitware.com] 
 Sent: Saturday, April 25, 2009 4:01 PM
 To: doberkofler.li...@gmail.com
 Cc: CMake@cmake.org
 Subject: Re: [CMake] Problem with NMake generator after 
 upgrade from 2.4.6 to 2.6.3
 
 Dieter Oberkofler wrote:
  Thank you for your quick feedback!
  
  1) Why does this warning appear in the first place and can 
 it be disabled? 
 It was a bug.   No way to fix it but use the next version of 
 cmake.  I 
 was trying to detect and warn people when they tried to use 
 nmake with 
 an in correct env.   Some of the compilers use LIBPATH and 
 some do not, 
 unfortunately, the one I tested with did use it
 
  2) Is there a simple change log explaining what new 
 features might be 
  available in each release?
 Yes.
 http://www.cmake.org/files/v2.6/CMakeChangeLog-2.6.3
 
 
  
  -Dieter
  
  -Original Message-
  From: Bill Hoffman [mailto:bill.hoff...@kitware.com]
  Sent: Saturday, April 25, 2009 3:22 PM
  To: doberkofler.li...@gmail.com
  Cc: CMake@cmake.org
  Subject: Re: [CMake] Problem with NMake generator after 
 upgrade from 
  2.4.6 to 2.6.3
 
  Dieter Oberkofler wrote:
  After having upgraded CMake from 2.4.6 to 2.6.3 I received the 
  following warning
 
  ==
  ...
  -- The C compiler identification is MSVC
  -- The CXX compiler identification is MSVC CMake Warning at
  C:/Program
  Files/CMake
  2.6/share/cmake-2.6/Modules/Platform/Windows-cl.cmake:32
  (ENABLE_LANGUAGE):
To use the NMake generator, cmake must be run from a
  shell that can
  use the
compiler cl from the command line.  This environment does
  not contain
INCLUDE, LIB, or LIBPATH, and these must be set for the
  cl compiler to
work.
  Call Stack (most recent call first):
C:/Program Files/CMake
  2.6/share/cmake-2.6/Modules/CMakeCInformation.cmake:39 
 (INCLUDE) ...
  ==
 
  and CMake aborts.
  Cmake should not abort, that is just a warning.  It is fixed in the
  2.6.4 RC 4, found here:
  http://www.cmake.org/files/v2.6/?C=M;O=D
 
  -Bill
 
   
  The CMakeList.txt files and the environment did not change
  at all and
  the compiler (cl.exe) can be executed from the same command
  line I'm
  executing cmake from.
   
  Any help would be appreciated.
   
  -Dieter
 
  ___
  Powered by www.kitware.com
 
  Visit other Kitware open-source projects at 
  http://www.kitware.com/opensource/opensource.html
 
  Please keep messages on-topic and check the CMake FAQ at: 
  http://www.cmake.org/Wiki/CMake_FAQ
 
  Follow this link to subscribe/unsubscribe:
  http://www.cmake.org/mailman/listinfo/cmake
 
  
  
 

___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake


Re: [CMake] Problem with NMake generator after upgrade from 2.4.6 to 2.6.3

2009-04-25 Thread Dieter Oberkofler
 That should be:
 D:\MyDev\ljs_app\trunk\tools\..\xvt\win\lib\tls12dvc71.lib 
You are absolutely right but it seems to have worked in CMake 2.4.6...
Thank you!
-Dieter

 -Original Message-
 From: Bill Hoffman [mailto:bill.hoff...@kitware.com] 
 Sent: Saturday, April 25, 2009 9:19 PM
 To: doberkofler.li...@gmail.com
 Cc: CMake@cmake.org
 Subject: Re: [CMake] Problem with NMake generator after 
 upgrade from 2.4.6 to 2.6.3
 
 Dieter Oberkofler wrote:
  I'm also having problems with a library in the format 
  D:\MyDev\ljs_app\trunk\tools\..\xvt\win\lib\tls12dvc71.
  This library was successfully processed in CMake 2.4.6 but 
 when using 
  2.6.4 nmake issues the following error message:
  NMAKE : fatal error U1073: don't know how to make 
  'D:\MyDev\ljs_app\trunk\tools\..\xvt\win\lib\tls12dvc71'
  Could this be related to a change in CMake's behaviour?
  Thank you
  -Dieter
 
 That should be:
 
 D:\MyDev\ljs_app\trunk\tools\..\xvt\win\lib\tls12dvc71.lib
 
 right?
 
 -Bill
 

___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake