On Thu, Dec 12, 2013 at 11:20 AM, Williams, Norman K < norman-k-willi...@uiowa.edu> wrote:
> This is a case for ExternalProjects. > http://www.kitware.com/media/html/BuildingExternalProjectsWithCMake2.8.html I've read that before but didn't find anything new there. I also tried checking the state of BOOTSTRAP_WXWIDGETS and the target separately and both individually seem to test correctly. It seems the problem is: if(BOOTSTRAP_WXWIDGETS AND NOT TARGET wxWidgets) though I don't see anything semantically wrong with it. Also search for 'cmake superbuild' for discussion of how people are using > external projects. > > An example build setup for prerequisites/projects here: > https://github.com/BRAINSia/NamicExternalProjects > Very interesting but not quite what I'm looking for, in this case the main CMakeLists.txt does actually build a project, I just need it to build wxWidgets first. Thanks, Richard
-- 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://www.cmake.org/mailman/listinfo/cmake