Skip to content

Conversation

@awschult002
Copy link
Contributor

The top level makefile has been upgraded to handle the building of everything in the project. Demos are recursively built, documentation is created, and Nuklear.h gets paq'd. This does not break the previous build system, only adds a new path.

In order to make this happen, a small modification to build.py needed to happen to allow space delimited lists of files. Note, this change is backwards compatible.

Using the makefile at the top level for the building is not only familiar to C developers; but also provides better control and build capabilities to any automated systems. Multi-threaded building and processing, plus inherited compiler variables can help to simplify more advanced build procedures while providing a clean and common way for developers to make future adjustments.

After this update, I hope to modify the github workflow to reduce build times.

this is a stepping stone to going to a full Makefile build system. All
src files can be provided in the make and sent to build.py with minimal
issues now that we don't have to build a comma separated list.
The top level makefile now handles the building of nuklear.h, docs, and
demos.

Doing this, not only provides a more familar interface for C
programmers, but allows the build system to become simplified. Using
`make` can take advantage of multiple processes and threading. Next up
in the line will be updating the workflow to take advantage of these
properties.
@RobLoach
Copy link
Contributor

Oh this is nice. Thanks so much. Before merging, is there anything else you'd like to add to it?

@awschult002
Copy link
Contributor Author

I would prefer this get merged before I continue working on it

@RobLoach RobLoach merged commit 50021f5 into Immediate-Mode-UI:master Nov 17, 2024
1 check passed
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 this pull request may close these issues.

2 participants