Re: [CMake] Swig dependencies not being tested?

2007-12-10 Thread Hendrik Sattler
Quoting Alan W. Irwin [EMAIL PROTECTED]: On 2007-12-10 05:33+0100 Christiaan Putter wrote: I know swig support isn't all that great at the moment but was wondering if someone happens to have a working Swig module for cmake that doesn't rebuild every time even without the dependencies having

[CMake] Building debug targets

2007-12-10 Thread Ramazan Girgin
Hi all, I want to built debug target with cmake and nmake . I am calling cmake with -DCMAKE_BUILD_TYPE=Debug.later i am calling nmake. But everytime nmake is building release target. Is there any other way to build debug target??? Thanks in advance Ramazan

Re: [CMake] CMake with Lua Experiment

2007-12-10 Thread E. Wing
- The source code seems to have been crappified by windows. There's missing +x permissions on executable files and cr-lf linefeeds everywhere. - The source does: #include lua.h but the bootstrap/cmakelists.xt does not search for paths to it. Under my Ubuntu box, lua.h is located in

Re: [CMake] cmake 2.4.8 RC 4

2007-12-10 Thread E. Wing
Hi, sorry for the delay, but I just sacrificed my weekend trying to get caught up on CMake things. So all the issues are fuzzy. But here's what I remember: - The bootstrap used to fail if CMake had not been previously installed. I just tested this on a system that did not have CMake installed and

Re: [CMake] cmake 2.4.8 RC 4

2007-12-10 Thread Bill Hoffman
E. Wing wrote: Hi, sorry for the delay, but I just sacrificed my weekend trying to get caught up on CMake things. Thanks! So all the issues are fuzzy. But here's what I remember: We also have the Framework building support issues. Last time, we spoke of this, we were having problems

[CMake] Specifying different flags for debug/release mode

2007-12-10 Thread Christian Ehrlicher
Hi, ist there something like target_link_libraries(debug fooD.lib release foo.lib) possible for flags? It's needed to make Qt plugins work (yes, you can't properly build Qt plugins on windows with cmake). Christian -- Pt! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen:

Re: [CMake] Specifying different flags for debug/release mode

2007-12-10 Thread Pau Garcia i Quiles
Quoting Christian Ehrlicher [EMAIL PROTECTED]: Hi, ist there something like target_link_libraries(debug fooD.lib release foo.lib) possible for flags? It's needed to make Qt plugins work (yes, you can't properly build Qt plugins on windows with cmake). From

[CMake] Mangled library names

2007-12-10 Thread Fernando Cacciola
What's the best way to produce mangled library names (encoding in the target name some configuration properties)? Examples of mangled library names are here, in Boost: http://www.boost.org/more/getting_started/windows.html#library-naming TIA -- Fernando Cacciola SciSoft

Re: [CMake] Specifying different flags for debug/release mode

2007-12-10 Thread Christian Ehrlicher
Von: Pau Garcia i Quiles Quoting Christian Ehrlicher Hi, ist there something like target_link_libraries(debug fooD.lib release foo.lib) possible for flags? It's needed to make Qt plugins work (yes, you can't properly build Qt plugins on windows with cmake). From

Re: [CMake] Specifying different flags for debug/release mode

2007-12-10 Thread Clinton Stimpson
Christian Ehrlicher wrote: Hi, ist there something like target_link_libraries(debug fooD.lib release foo.lib) possible for flags? It's needed to make Qt plugins work (yes, you can't properly build Qt plugins on windows with cmake). Christian This was fixed recently in CVS for Qt

Re: [CMake] Swig dependencies not being tested?

2007-12-10 Thread Tristan Carel
On Dec 10, 2007 7:15 AM, Alan W. Irwin [EMAIL PROTECTED] wrote: On 2007-12-10 05:33+0100 Christiaan Putter wrote: Hi all, I know swig support isn't all that great at the moment but was wondering if someone happens to have a working Swig module for cmake that doesn't rebuild every time

[CMake] Multiple configurations in a single target?

2007-12-10 Thread Fernando Cacciola
Hi A single VS .vcproj file can have both debug and release configurations. How can I produce that sort of project file with CMake? Would calling CMake twice, setting CMAKE_BUILD_TYPE differently each time, do the magic? TIA -- Fernando Cacciola SciSoft http://fcacciola.50webs.com

Re: [CMake] Multiple configurations in a single target?

2007-12-10 Thread Sylvain Benner
Hi A single VS .vcproj file can have both debug and release configurations. How can I produce that sort of project file with CMake? Would calling CMake twice, setting CMAKE_BUILD_TYPE differently each time, do the magic? Hi, I don't understand your question, by default CMake generates

[CMake] Re: Multiple configurations in a single target?

2007-12-10 Thread Fernando Cacciola
Sylvain Benner wrote: Hi A single VS .vcproj file can have both debug and release configurations. How can I produce that sort of project file with CMake? Would calling CMake twice, setting CMAKE_BUILD_TYPE differently each time, do the magic? Hi, I don't understand your question, by default

Re: [CMake] Swig dependencies not being tested?

2007-12-10 Thread Alan W. Irwin
On 2007-12-10 10:12+0100 Hendrik Sattler wrote: Quoting Alan W. Irwin [EMAIL PROTECTED]: Someone else also pointed out a problem with .i files having to be in the current source dir. We have never felt constrained by that limitation (in fact I was unaware of it) since it is possible to

Re: [CMake] Swig dependencies not being tested?

2007-12-10 Thread James Bigler
I have a modified version of the Swig module (edited before the EXTRA_DEPS flag was present). It uses the -MM to create dependencies and a python script to convert the file into a CMake consumable version. The make2cmake.py file could be rewritten in cmake script (see below). It just needs

Re: [CMake] Swig dependencies not being tested?

2007-12-10 Thread Alan W. Irwin
On 2007-12-10 17:08+0100 Tristan Carel wrote: On Dec 10, 2007 7:15 AM, Alan W. Irwin [EMAIL PROTECTED] wrote: On 2007-12-10 05:33+0100 Christiaan Putter wrote: Hi all, I know swig support isn't all that great at the moment but was wondering if someone happens to have a working Swig module

Re: [CMake] Swig dependencies not being tested?

2007-12-10 Thread Hendrik Sattler
Am Montag 10 Dezember 2007 schrieb Tristan Carel: On Dec 10, 2007 7:15 AM, Alan W. Irwin [EMAIL PROTECTED] wrote: On 2007-12-10 05:33+0100 Christiaan Putter wrote: Hi all, I know swig support isn't all that great at the moment but was wondering if someone happens to have a working

Re: [CMake] CMake 2.4.7 -- ld: Can't find library or mismatched ABI for -lgcc

2007-12-10 Thread [EMAIL PROTECTED]
I've attached make VERBOSE=1 outputPlease help! Thank you. Jennifer make in dir /home/builder/builds/hpux_i/dsc_hpux_i/build (timeout 1200 secs) watching logfiles {} argv: ['make'] environment: ERASE=^H HOME=/home/builder/builds LOGNAME=builder MAIL=/var/mail/builder

Re: [CMake] cmake 2.4.8 RC 4

2007-12-10 Thread clinton
Can this be fixed for 2.4.8? It looks like it was already fixed for 2.6, but I couldn't find a bug report for it. = ADD_LIBRARY(A a.c) ADD_LIBRARY(Ad a.c) ADD_LIBRARY(B b.c) TARGET_LINK_LIBRARIES(B debug Ad optimized A) # if building shared

RE: [CMake] function and raise_scope commands

2007-12-10 Thread Ken Martin
Thanks for the information. Both these issues I suspect are fairly simple bugs and will be fixed. Thanks Ken 1. CMake crashes if I use the same variable name as the argument and raise the scope later. That is, for the following function: function(track_find_variable cache_variable

Re: [CMake] question about clock skew detected. Your build may be incomplete

2007-12-10 Thread Jesper Eskilson
WangPing wrote: The date /time on my local workstation is correct, probably due to NFS system, Do you mean NTP? NFS does not keep your local computer time correct. the work directory is a NFS folder on other server, maybe the date/time on this server is incorrect? I can check it later.

Re: [CMake] Re: [Insight-users] question about clock skew detected. Your build may be incomplete

2007-12-10 Thread Jesper Eskilson
Karthik Krishnan wrote: Your system time is probably incorrect. One possible reason is that the timestamp of the files that make is compiling is newer than the current time. If the local time is correct and no network filesystems are involved, then I would guess that there is a file

[CMake] Renaming Directories

2007-12-10 Thread Josh Schulte
Hello, Can someone suggest a way to have a directory renamed after it has been installed with the install command? Thanks , Josh ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

[CMake] HPUX 11.31 lgcc error

2007-12-10 Thread [EMAIL PROTECTED]
Hi all, I need desperate help with my CMake and was hoping someone could render assistance. I'm running HP-UX 11.31 ia64 and compiled CMake using aCC (HP Native Compiler). When I attempt to compile my code, I receive the following error: [ 26%] Built target XmHTML make -f

Re: [CMake] Renaming Directories

2007-12-10 Thread Clinton Stimpson
INSTALL(DIRECTORY ... can change the name if your source has a trailing '/' but the destination doesn't. Clint On Dec 10, 2007, at 4:46 PM, Josh Schulte wrote: Hello, Can someone suggest a way to have a directory renamed after it has been installed with the install command?

Re: [CMake] escaping!

2007-12-10 Thread Andrew Roark
Is it possible to have a command like this? ADD_CUSTOM_COMMAND(OUTPUT ${my_file} ... COMMAND find . -name *xml /dev/null ... VERBATIM ) Not sure if you got a reply to this, nor if the following is any help, BUT... For any tricky file operations (like all files ending with XML

Re: [CMake] escaping!

2007-12-10 Thread Hendrik Sattler
Am Dienstag 11 Dezember 2007 schrieb Andrew Roark: Is it possible to have a command like this? ADD_CUSTOM_COMMAND(OUTPUT ${my_file} ... COMMAND find . -name *xml /dev/null ... VERBATIM ) Not sure if you got a reply to this, nor if the following is any help, BUT...

[CMake] Including of Platform/UnixPaths.cmake now broken

2007-12-10 Thread Gonzalo Garramuño
This used to work properly, but it has now changed behavior and is now borken. Using CVS version, somewhat latest one. cmake version 2.5-20071026 I have: SET( CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/modules ) to change cmake's search path behavior. Inside my local modules dir, I

Re: [CMake] HPUX 11.31 lgcc error

2007-12-10 Thread Hendrik Sattler
Am Dienstag 11 Dezember 2007 schrieb [EMAIL PROTECTED]: Hi all, I need desperate help with my CMake and was hoping someone could render assistance. I'm running HP-UX 11.31 ia64 and compiled CMake using aCC (HP Native Compiler). When I attempt to compile my code, I receive the following

Re: [CMake] escaping!

2007-12-10 Thread Andrew Roark
- Original Message From: Hendrik Sattler [EMAIL PROTECTED] To: cmake@cmake.org Sent: Monday, December 10, 2007 7:29:21 PM Subject: Re: [CMake] escaping! Am Dienstag 11 Dezember 2007 schrieb Andrew Roark: Is it possible to have a command like this? ADD_CUSTOM_COMMAND(OUTPUT

Re: [CMake] escaping!

2007-12-10 Thread Brandon Van Every
On Dec 10, 2007 7:12 PM, Andrew Roark [EMAIL PROTECTED] wrote: For any tricky file operations (like all files ending with XML greater than 2Kb using DOS newlines etc) I would personally write a python script (e.g. ROOTDIR/util/xmlfinder.py) to do that work and make the command simply invoke

Re: [CMake] HPUX 11.31 lgcc error

2007-12-10 Thread [EMAIL PROTECTED]
I use aCC. On Dec 10, 2007 7:51 PM, Hendrik Sattler [EMAIL PROTECTED] wrote: Am Dienstag 11 Dezember 2007 schrieb [EMAIL PROTECTED]: Hi all, I need desperate help with my CMake and was hoping someone could render assistance. I'm running HP-UX 11.31 ia64 and compiled CMake using aCC

[CMake] libxml2

2007-12-10 Thread Charlene Tsai
Hi, Could some please show me the proper way to handle libxml2 on Gentoo linux. In my CMakeLists.txt, if I include the following line it works on windows and some versions of linux: TARGET_LINK_LIBRARIES( my_exe ITKCommon ITKIO libxml2) However, when trying to compile on Gentoo linux (using

Re: [CMake] HPUX 11.31 lgcc error

2007-12-10 Thread Bill Hoffman
[EMAIL PROTECTED] wrote: Hi all, I need desperate help with my CMake and was hoping someone could render assistance. I'm running HP-UX 11.31 ia64 and compiled CMake using aCC (HP Native Compiler). When I attempt to compile my code, I receive the following error: [ 26%] Built target XmHTML

Re: [CMake] libxml2

2007-12-10 Thread Maik Beckmann
Am Dienstag 11 Dezember 2007 03:24:27 schrieb Charlene Tsai: on windows and some versions of linux: TARGET_LINK_LIBRARIES( my_exe ITKCommon ITKIO libxml2) I wonder that this worked on linux at all. on Gentoo linux TARGET_LINK_LIBRARIES( my_exe ITKCommon ITKIO xml2) This statement is

Re: [CMake] libxml2

2007-12-10 Thread Pau Garcia i Quiles
Quoting Charlene Tsai [EMAIL PROTECTED]: Hi, Could some please show me the proper way to handle libxml2 on Gentoo linux. In my CMakeLists.txt, if I include the following line it works on windows and some versions of linux: TARGET_LINK_LIBRARIES( my_exe ITKCommon ITKIO libxml2) However,