Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve the build system #2286

Open
fundies opened this issue Jan 22, 2022 · 0 comments · May be fixed by #2334
Open

Improve the build system #2286

fundies opened this issue Jan 22, 2022 · 0 comments · May be fixed by #2334

Comments

@fundies
Copy link
Contributor

fundies commented Jan 22, 2022

The current build system works but could use many quality of life improvements.

  • GNU Make but it is particularity familiar with various compilers and environments.
  • We have no packaging methods written for games. Dependencies must manually be copied.
  • Systems are not and cannot be pre-built.
  • Systems are not interchangeable at runtime or launch.

To fix these issues, I believe a total rewrite of the build system in CMake would be ideal. CMake offers conversions to most build systems and CPack can create distributable exes and installers for various operating systems.

Impact

  • This will improve users quality of of life when time comes to distribute their games.
  • It will allow dynamic replacement of the engine without the need to ship a entire rebuild of the game.
  • It will make working with other compilers such as MSVC easier.

Milestones

  1. Replacement of the GNU Make System on your OS
    1. Understand the current GNU Make system's organization.
    2. Reorganize it to build systems as modules.
    3. Write CMakeLists for the engine and various systems.
    4. Generalize they compiler yaml files to call more generic build commands. (pre-parse, pre-build, build, package, etc)
    5. Add support to ENIGMA's compiler for this change in yaml format.
  2. Work out any new build system bugs in the CI and other OSes you don't primarily develop on.
  3. Add packaging routines.
  4. Add support for interchanging systems at launch.
  5. Add / refine releases of enigma with pre-built systems.

Mentors: Josh, Greg
Difficulty: Easy/Medium
Expected size: 175h
Skills required: C++ fundamentals, build system fundamentals
Skills preferred: Experience with GNU Make and CMake

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant