nfprojects / nfengine

Game engine
GNU General Public License v2.0
55 stars 4 forks source link

Move Engine dependencies to Git submodules #199

Closed lookeypl closed 4 years ago

lookeypl commented 4 years ago

For easier upgrading/management of Engine dependencies, they were moved from nfEngineDeps repo to main project's submodules.

On both platforms, Deps building is handled by CMake and respective build system (MSVC on Windows, Make with GCC/Clang on Linux).

For Linux, there are no changes in build process - call CMake on main NFE CMakeLists and build everything using make.

For Windows, deps are built by deps_builder.py script, which creates MSVC build files via CMake and then calls MSVC compiler on created projects. For that, it is necessary to have cmake.exe and msbuild.exe binaries visible in your system's PATH env variable. Deps can also be built independently by calling the Deps/deps_builder.py script manually. Built deps files do not clean when invoking Clean target in Visual Studio - for that, you need to call Deps/deps_builder.py --clean in your console.