polymonster / premake-android-studio

premake5 module for android-studio and gradle build.
MIT License
34 stars 15 forks source link

Fix dependency chains #3

Closed Gaztin closed 5 years ago

Gaztin commented 5 years ago

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.