[CMake] Putting moc and uic files in separate folders/filters (Visual Studio)

Patrick Noffke Patrick.Noffke at adpro.com.au
Sun Jun 18 21:38:45 EDT 2006


Is it possible to put the generated files (moc_*.cxx and ui_*.h) in their own filters in VS 2005 Express Edition?  When I add headers or cpp/cxx files using ADD_EXECUTABLE or ADD_LIBRARY, they are all lumped in the "Header Files" or "Source Files" filters, respectively.  Since I have to add moc- and uic-generated files to my target, this makes for a cluttered view of the project.

I'm using cmake 2.4.2.

Thanks,
Patrick


More information about the CMake mailing list