feat: support for CMake build system#43
feat: support for CMake build system#43alextwothousand wants to merge 3 commits intoRebzzel:masterfrom
Conversation
| Hello, @alextwothousand. |
| I have written a small CMakeLists to make this project work with CMake in a convenient way here: https://github.com/Curve/kiero-cmake The project allows configuration of the render backend through cmake as well as enabling the usage of minhook through cmake, maybe it can be of help for you ^^ The current implementation of my CMakeLists removes the defines in |
| @Curve, uff, looks good.
I think the new implementation (^0.13.0) will solve similar problems (there is a very user-friendly file for this). PS: I am very sorry that the update has not been released yet. Unfortunately I'm still very busy to release it. |
| @Rebzzel thanks ^^ And no problem, take all the time you need :D |
As I mostly use CMake for building C/C++ programs, I thought it would be convenient if a CMakeLists file was available, to allow people to just add_subdirectory this library, or use CMake's FetchContent library.
I also plan on writing C bindings for the kiero library, and so, having CMake support would make it that much easier!