[CMake] When should I use add_subdirectory and when ExternalProject?

Ansis Māliņš ansis.malins at gmail.com
Mon Feb 4 03:23:20 EST 2013


If I have a dependency (e.g. SDL2) that seems to work with add_subdirectory
just fine, should I still use ExternalProject_Add instead? Given both ways
work, what should I prefer? What are the tradeoffs?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20130204/82d605b7/attachment.htm>


More information about the CMake mailing list