dcourtois / premake-qt

Premake module adding support for Qt to actions (Visual Studio, makefiles, etc.)
Do What The F*ck You Want To Public License
45 stars 11 forks source link

[Improvement] Select files to moc #30

Open Jarod42 opened 1 year ago

Jarod42 commented 1 year ago

Currently, moc is auto-detected from headers (with parsing) but files to moc might also be cpp files.

So 2 possible improvements (with extra api):

Jarod42 commented 1 year ago

After reflection, I doubt that premake can handle mocing source files, as there would be 2 rules for one unique file :-/