Open roscopecoltran opened 7 years ago
Hi Richard,
I've never used hunter. It looks cool. I had some of the same ideas for KRAL but sadly not enough time to develop them.
Yeah, if I'm not missing something and what I said at point 1. is correct then yes, this is doable in CMake by extending KRAL or hunter. I would recommend hunter because it seems to have a lot more developers than KRAL (just me :) ).
I don't know. I've never used any of them. For the plugins I wrote (not very sophisticated), I wrote the C# glue layer by hand.
Keep in mind that what KRAL and/or hunter do is not the platform dependent CMake parts, but the package management and wrapping part. If you have a monolithic project without many dependencies or you know what your dependencies are beforehand, then you can just write your project in CMake using Polly to help with the platform dependent parts. I wrote KRAL to help with changing dependencies (from platform to platform, but also from project to project), multiple toolchains and IDEs, and separating of relatively big projects into multiple more manageable packages.
So if the project isn't too big or very well defined you can probably do it faster by writing a CMake project for it.
Hope this helps! Cristian
Hi phaser,
Hope you are all well !
I was looking after some cool CMake macros to support mobile devices and I found KRAL, so first of all, thank you for share it :-)
Context:
I wanted to extend 3 others CMake macros collections, and 1 native bindings wrapper called CppSharp, in order to build some dependencies and use them as Unity3D native plugins.
Goal:
Build and export a CMake driven project, with its dependencies to the following platforms and architectures:
Export tree skeleton for a project or dependency build:
How to ?
Questions:
Any input or point of views are welcomed before I start this cmake packing layer :-)
Have a great day and week !
Cheers, Richard