1 2 3 4 5 6 7
enable_language(CXX) add_library(foo SHARED empty.cpp) add_subdirectory(subdir1) add_subdirectory(subdir2)