[Cmake] "make install" fails on QT_WRAP_CPP moc header file
David Thompson
dcthomp at sandia . gov
Tue, 07 Oct 2003 16:54:27 -0700
Brad King wrote:
> David Thompson wrote:
> > # Do wrap Qt header files
> > QT_WRAP_CPP( GuiLib GuiLibSrcs GuiLibMocHeaders )
> > SET_SOURCE_FILES_PROPERTIES( ${GuiLibSrcs} GENERATED )
> > # Don't wrap in Tcl/Python
> > SET_SOURCE_FILES_PROPERTIES( ${GuiLibSrcs} WRAP_EXCLUDE )
> FYI, the WRAP_EXCLUDE property isn't used unless VTK_WRAP_TCL is called
> with the source file.
I do later call VTK_WRAP_TCL...
> > INSTALL_FILES ( /include/Gui .h ${Gui_SRCS} )
> ^^^^^^^^
> This INSTALL_FILES command tells cmake to look for a .h file for every
> source file in Gui_SRCS.
Aaagh! I knew I was overlooking something simple.
Thanks,
David