> > Yeah. Well, in that case I'd simply check for the TestB target thats > defined in TestB/CMakeLists.txt as condition for the top-levels > add_subdirectory: > > if(NOT TARGET TestB) > add_subdirectory(TestB) > endif() > > That should work. > > Andreas >
Awesome, that seems to do the trick. Thanks! David
-- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake