add_library(Foo1 SHARED IMPORTED) add_executable(Foo2 IMPORTED)