I have a project with two library projects and one application project. They depend on each other in a chain-like fashion: Core (lib) -> Graphics (lib) -> Sample App and it seems that CMake doesn't like it when you define a project more than once, so I added a guard to make sure it only does it once.
I also made it treat link-dependant projects as dependencies.
I have a project with two library projects and one application project. They depend on each other in a chain-like fashion:
Core (lib) -> Graphics (lib) -> Sample App
and it seems that CMake doesn't like it when you define a project more than once, so I added a guard to make sure it only does it once.I also made it treat link-dependant projects as dependencies.