Re: [CMake] cmake PyQT/SIP

2010-12-08 Thread luxInteg
On Sunday 05 December 2010 13:51:12 Michael Wild wrote: On 12/05/2010 02:04 AM, luxInteg wrote: On Thursday 02 December 2010 07:48:55 Michael Wild wrote: Use ADD_CUSTOM_COMMAND. @Michael: that advice is not correct. add_custom_command sets up a command to be run at make time. Instead,

Re: [CMake] cmake PyQT/SIP

2010-12-05 Thread Michael Wild
On 12/05/2010 02:04 AM, luxInteg wrote: On Thursday 02 December 2010 07:48:55 Michael Wild wrote: Use ADD_CUSTOM_COMMAND. @Michael: that advice is not correct. add_custom_command sets up a command to be run at make time. Instead, the execute_process command should be used to run a

Re: [CMake] cmake PyQT/SIP

2010-12-04 Thread luxInteg
On Thursday 02 December 2010 07:48:55 Michael Wild wrote: Use ADD_CUSTOM_COMMAND. @Michael: that advice is not correct. add_custom_command sets up a command to be run at make time. Instead, the execute_process command should be used to run a command at CMake time which is what the

Re: [CMake] cmake PyQT/SIP

2010-12-02 Thread luxInteg
On Thursday 02 December 2010 07:48:55 Michael Wild wrote: On 12/02/2010 08:25 AM, Alan W. Irwin wrote: On 2010-12-02 06:32+0100 Michael Wild wrote: On 12/02/2010 12:37 AM, luxInteg wrote: On Tuesday 30 November 2010 22:43:34 luxInteg wrote: Greetings I an learnig cmake. My test

Re: [CMake] cmake PyQT/SIP

2010-12-02 Thread Michael Wild
On 12/02/2010 11:54 AM, luxInteg wrote: On Thursday 02 December 2010 07:48:55 Michael Wild wrote: On 12/02/2010 08:25 AM, Alan W. Irwin wrote: On 2010-12-02 06:32+0100 Michael Wild wrote: On 12/02/2010 12:37 AM, luxInteg wrote: On Tuesday 30 November 2010 22:43:34 luxInteg wrote: Greetings

Re: [CMake] cmake PyQT/SIP

2010-12-02 Thread luxInteg
On Thursday 02 December 2010 10:10:59 Michael Wild wrote: No, you can't. CMake simply concatenates the strings when you do ${CMAKE_SOURCE_DIR}/${sipED-SRS}. You'll have to put CMAKE_BINARY_DIR (or equivalent, like CMAKE_CURRENT_BINARY_DIR) in front of every element in sipED-SRCS. A few

Re: [CMake] cmake PyQT/SIP

2010-12-02 Thread Michael Wild
On 12/02/2010 02:22 PM, luxInteg wrote: On Thursday 02 December 2010 10:10:59 Michael Wild wrote: No, you can't. CMake simply concatenates the strings when you do ${CMAKE_SOURCE_DIR}/${sipED-SRS}. You'll have to put CMAKE_BINARY_DIR (or equivalent, like CMAKE_CURRENT_BINARY_DIR) in front of

Re: [CMake] cmake PyQT/SIP

2010-12-01 Thread Michael Wild
On 12/02/2010 12:37 AM, luxInteg wrote: On Tuesday 30 November 2010 22:43:34 luxInteg wrote: Greetings I an learnig cmake. My test project is as follows:- linux machine with pyQt4, sip-4.10.2,qt-4.6.2 and cmake-2.8.2 ---stepA: I have a file -fileA.sip. ---stepB: Upon execution of

[CMake] cmake PyQT/SIP

2010-11-30 Thread luxInteg
Greetings I an learnig cmake. I recently learned that to 'compile headers into _moc.cpp files in a cmake/qt4 project one had to use the QT4_WRAP_CPP() utility. I now have a similar need to transformheader files into .cpp files for PyQT4/SIP scripts. I would be grateful if