Re: [CMake] proper setup to create file and have it installed

2010-12-29 Thread edA-qa mort-ora-y
On 12/29/2010 08:55 AM, Michael Hertling wrote: > The tricky part is how to set up the custom command within the loop. Okay, I think I can work with the for-loop. Thank you. -- edA-qa mort-ora-y -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- BigTPoker - Poker f

Re: [CMake] proper setup to create file and have it installed

2010-12-28 Thread Michael Hertling
On 12/28/2010 09:10 AM, edA-qa mort-ora-y wrote: > On 12/27/2010 09:51 PM, Michael Hertling wrote: >> You might use the ALL option of ADD_CUSTOM_TARGET() to incorporate the >> language target in CMake's "all" target which, in turn, is built as a >> prerequisite of the "install" target. Alternativel

Re: [CMake] proper setup to create file and have it installed

2010-12-28 Thread edA-qa mort-ora-y
On 12/27/2010 09:51 PM, Michael Hertling wrote: > You might use the ALL option of ADD_CUSTOM_TARGET() to incorporate the > language target in CMake's "all" target which, in turn, is built as a > prerequisite of the "install" target. Alternatively, if the language > file should be installed only if

Re: [CMake] proper setup to create file and have it installed

2010-12-27 Thread Michael Hertling
On 12/27/2010 12:32 PM, edA-qa mort-ora-y wrote: > I'm using lupdate/lrelease in QT and trying to have a generated file > installed. I've hit a few problems that I'm not clear on how they should > be resolved. > > To produce the file I have a chain of commands that ends with: > > add_custom_comma

[CMake] proper setup to create file and have it installed

2010-12-27 Thread edA-qa mort-ora-y
I'm using lupdate/lrelease in QT and trying to have a generated file installed. I've hit a few problems that I'm not clear on how they should be resolved. To produce the file I have a chain of commands that ends with: add_custom_command( OUTPUT English.qm COMMAND lrelease ${LANG_D