Re: [CMake] add_subdirectory and common libraries

2017-12-11 Thread Craig Scott
On Tue, Dec 12, 2017 at 5:13 AM, Harry Mallon wrote: > Hello all, > > Has anyone got any good recommendations for the following setup? > > “large_repo” contains code for a binary and two git submodules. One is > “library” which is added with add_subdirectory(). The other is some common > library

[CMake] add_subdirectory and common libraries

2017-12-11 Thread Harry Mallon
Hello all, Has anyone got any good recommendations for the following setup? “large_repo” contains code for a binary and two git submodules. One is “library” which is added with add_subdirectory(). The other is some common library “util_library” (something like gtest which is generally useful) w