A question: does Urho3d have to be built first before it can be used as an external library in another cmake based project? I mean can I put the Urho3d git repo as a git submodule inside my project’'s git repo and somehow let my project’s cmakelist.txt drive the build of the URho3d tree together as part of the build process of my project?
The documentation for Urho 1.5 says URHO3D_HOME needs to point to the Urho3d build tree, which seems to imply that Urho3d has to be built first somewhere before projects using it can be built. In my project setup as described above, I have the full source tree of Urho3d inside my project’s source tree, but I cannot set URHO3D_HOME to point to a Urho3d source tree, or a subdirectory of it. It is convenient to be able to build everything via a single cmake invocation (and then make, xcode, etc.). Any way to get around this?
Thanks