ezEngine as a Submodule

When using git and CMake for a project, ezEngine can be integrated as a submodule into the git repository and reference from CMake.

First ezEngine needs to be added as a submodule to git:

git submodule add https://github.com/ezEngine/ezEngine.git

Next, add the ezEngine folder in your root CMakeLists.txt:


The ezEngine language detection can be reused by including the ezEngine submodule utility file:

# include the ez submodule utility CMake functions


project("MyProject" LANGUAGES ${EZ_LANGUAGES})

For a full example see: https://github.com/ezEngine/submodule-example

See Also