Immediate-Mode-UI / Nuklear

A single-header ANSI C immediate mode cross-platform GUI library
https://immediate-mode-ui.github.io/Nuklear/doc/index.html
Other
9.06k stars 542 forks source link

Converting examples/demos to CMake #524

Closed learn-more closed 4 months ago

learn-more commented 1 year ago

Would you be open to converting all Makefiles / batch files to CMake? This would allow easier cross-platform testing / building.

Additionally, when you would agree on using CMake, how do you feel about using vcpkg for package management? This integrates with CMake, and can be used in Windows, Linux and Mac. The recommended way is to use vcpkg as submodule, but this can also be done as manual checkout.

See example runners for how build definitions could look like.

Ryder17z commented 1 year ago

if this actually gets made I really hope it does not follow the typical "cmake cult" creations. 9 times out of 10 the cmake config I find in any project has too many problems to even bother looking at them.

dumblob commented 1 year ago

There is some ongoing work on CMake stuff in https://github.com/Immediate-Mode-UI/Nuklear/pull/462 . We utterly need reviewers - feel free to jump at it and review! After (very) few comprehensive reviews we are immediately giving full admin commit rights (to increase bus factor).

RobLoach commented 4 months ago

What dumblob said :+1: