u3d-community / U3D

Open-source, cross-platform 2D and 3D game engine built in C++
https://u3d.io
MIT License
187 stars 30 forks source link

Add ability to be included as a submodule in CMake projects #1

Open klaussilveira opened 1 year ago

klaussilveira commented 1 year ago

The engine should be able to be included as a submodule in a CMake project. This allows the game developer to use his own build system, or VCS, to manage engine versions. It also gives him the ability to patch any bugs in the engine without major workflow disruptions.

Relevant discussion: https://discourse.urho3d.io/t/embedding-the-engine-as-a-submodule-and-cmake-module/1636 How rbfx does it: https://github.com/rbfx/sample-project/blob/master/CMakeLists.txt#L40