I want to use ExternalProject_Add to download a git repository and try to compile it, and allow it to fail so I can either fall back on another method or disable certain functionality in my project. It looks like try_compile can try to compile a whole project, but I am not sure of an easy way to use this with ExternalProject_Add - I want CMake to automatically download and update the git repository and try to rebuild it again when there are changes, if possible.
What would be the best way to go about doing this? I am using CMake 3.4.0 Thanks, Nicholas Braden -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake