[swift-dev] swift without markup/cmark

Rafkind, Jon jon.rafkind at hpe.com
Fri Jan 8 14:36:20 CST 2016


I would like to build swift without support for its markup feature, and in turn leave out the cmark dependency. It looks like markup is used in a few places, such as AST/DocComment.cpp, a few files in IDE/, and PrintAsObjC/PrintAsObjC.cpp.

My initial guess to accomplish this is a new cmake variable, WANT_MARKUP, could be added that provides the define -DWANT_MARKUP, and the various code paths that use the Markup stuff can check for it using an #ifdef.

If I attempted such a thing would it have a chance to be accepted as a patch?

--


More information about the swift-dev mailing list