CedricGuillemet / ImGuizmo

Immediate mode 3D gizmo for scene editing and other controls based on Dear Imgui
MIT License
3.14k stars 883 forks source link

Platform independent build system and example? #305

Closed aniongithub closed 2 weeks ago

aniongithub commented 1 year ago

As it stands, while we can build each component of this awesome library directly into our own application, neither the example nor the included Makefile work on Linux/WSL.

My fork here has a CMake-ified, platform-independent version that should build and run on all platforms. If this is desired, I'm happy to create a PR.

Thanks for putting this library together, it's super useful!

CedricGuillemet commented 1 year ago

Yes! This is something I'd like to see in Imguizmo but didn't find the time.

CedricGuillemet commented 1 year ago

btw, I see we both work in the same company.

aniongithub commented 1 year ago

Awesome, I'll make some small changes and submit a PR. I don't use Windows for development, so some help testing it on Windows would be appreciated.

Also, connected with you on Teams - small world, indeed! Nice to see Microsofties putting OSS out there 👏

RedSkittleFox commented 2 weeks ago

What's the status on this?

aniongithub commented 2 weeks ago

What's the status on this?

This is available in a branch on my fork and it works already but I didn't have the time to modify it as per @CedricGuillemet 's requirements in order to merge to upstream. Feel free to build on the work in my fork and contribute it or use my fork as-is!

https://github.com/aniongithub/ImGuizmo/tree/feature-cmake