I have a cmake project that has: A static library called Project1 A static library called Project2 that depends on Project1 An executable called Project3 that dep