[CMake] Swig dependencies not being tested?

2007-12-09 Thread Christiaan Putter
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 even without the dependencies having changed. Someone else also pointed out a problem with .i files having to be in the curre

Re: [CMake] Swig dependencies not being tested?

2007-12-09 Thread Alan W. Irwin
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 even without the dependencies having changed. I do confirm that is a pr

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

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 >

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 s

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

Re: [CMake] Swig dependencies not being tested?

2007-12-11 Thread Tristan Carel
On Dec 10, 2007 8:58 PM, Alan W. Irwin <[EMAIL PROTECTED]> wrote: > 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 a

Re: [CMake] Swig dependencies not being tested?

2007-12-11 Thread Alan W. Irwin
Tristan, I have been slow to respond to your e-mail because it took a long time to investigate the java problems created by your patch. Details, below. On 2007-12-11 10:59+0100 Tristan Carel wrote: On Dec 10, 2007 8:58 PM, Alan W. Irwin <[EMAIL PROTECTED]> wrote: Tristan, since you do not enc

Re: [CMake] Swig dependencies not being tested?

2007-12-12 Thread Tristan Carel
On Dec 12, 2007 12:33 AM, Alan W. Irwin <[EMAIL PROTECTED]> wrote: > Tristan, I have been slow to respond to your e-mail because it took a long > time to investigate the java problems created by your patch. Details, > below. > > On 2007-12-11 10:59+0100 Tristan Carel wrote: > > > On Dec 10, 2007 8

Re: [CMake] Swig dependencies not being tested?

2007-12-12 Thread Alan W. Irwin
On 2007-12-12 17:17+0100 Tristan Carel wrote: On Dec 12, 2007 12:33 AM, Alan W. Irwin <[EMAIL PROTECTED]> wrote: [...] Tristan, if you decide to create a patch for UseSwig.cmake that does all that for the java case, I would be happy to test it. However, if it is possible to solve the original