Re: moc isn't being called for the output of custom commands

2013-04-20 Thread Michael Spencer
On Saturday, April 20, 2013 07:15:12 PM argonel wrote: Hi, On Sat, Apr 20, 2013 at 5:55 PM, Michael Spencer wrote: Hello, I have a small script that helps to generate parts of a Qt class. I then call it from a CMake file, using a couple custom commands in a function: Here is the

Re: moc isn't being called for the output of custom commands

2013-04-20 Thread argonel
Hi, On Sat, Apr 20, 2013 at 5:55 PM, Michael Spencer wrote: > Hello, > > I have a small script that helps to generate parts of a Qt class. I then > call it from a CMake file, using a couple custom commands in a function: > > Here is the part that doesn't work. Although the the custom commands

moc isn't being called for the output of custom commands

2013-04-20 Thread Michael Spencer
Hello, I have a small script that helps to generate parts of a Qt class. I then call it from a CMake file, using a couple custom commands in a function: add_custom_command(OUTPUT "${gen_f}" COMMAND ${MKPROP_EXECUTABLE} ARGS gen "${header_in}" "${gen_f}" DEPENDS "${heaer_i