On Friday 12 May 2006 17:46, Alexander Neundorf wrote: > Different usage: > > set(mySrcs foo.cpp widget.cpp mainwindow.cpp) > kde4_automoc(${mySrcs}) <- detect automatically where to run moc > kde4_add_executable(kfoo ${mySrcs} ) > > as opposed to: > > set(mySrcs foo.cpp widget.cpp mainwindow.cpp) > qt4_wrap_cpp(mySrcs foo.h widget.h) <- list the files which need to be > moc'ed, no autodetection, moc_foo.cxx will be created and added to the list > mySrcs
I don't understand the "cpp" in "qt4_wrap_cpp" then, if that function is about moc'ing header files ;) Anyway, in my case foo.moc would be preferred over moc_foo.cpp, when included by the .cpp file. -- David Faure, [EMAIL PROTECTED], sponsored by Trolltech to work on KDE, Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org). _______________________________________________ Kde-buildsystem mailing list Kde-buildsystem@kde.org https://mail.kde.org/mailman/listinfo/kde-buildsystem