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

William A. Hoffman billlist at nycap.rr.com
Mon Jun 19 22:59:08 EDT 2006


>ot it to work.  Couldn't make use of the REGULAR_EXPRESSION option with:
>
>SOURCE_GROUP("Moc Files" REGULAR_EXPRESSION moc_*.cxx)
>
>but then I'm not sure how regexp's work with cmake.

That is a wild card, and not a regular expression.
You want moc_.*cxx and not *.cxx.

http://www.cmake.org/Wiki/CMake_FAQ#Which_regular_expressions_are_supported_by_cmake.3F

-Bill



More information about the CMake mailing list