Re: [CMake] Super builds and export with Namespace

2016-08-12 Thread Ed Branch
We do it like this: - in projectA/CMakeLists.txt: set( ProjectA_IN_TREE TRUE CACHE INTERNAL "" ) - in projectA/ProjectA-config.cmake.in (which is converted to ProjectA-config.cmake by a call to configure_package_config_file from the CMakePackageConfigHelpers module): if(

[CMake] Super builds and export with Namespace

2016-08-11 Thread Miller Henry
I have a few different cmake based projects that depend on each other (as a tree, no circular dependencies). Mostly this works great, but a few people have expressed interested in a superbuild which builds everything together for various purposes. I can make this work with ExternalProject,