conan-io / cmake-conan

CMake wrapper for conan C and C++ package manager
MIT License
820 stars 248 forks source link

WASI platform support #504

Open xubury opened 1 year ago

xubury commented 1 year ago

Does conan has any plans to support wasi-sdk?

cmake system WASI is not supported by conan.  Use one of
Windows;Linux;Macos;Android;iOS;FreeBSD;WindowsStore;WindowsCE;watchOS;tvOS;FreeBSD;SunOS;AIX;Arduino;Emscripten;Neutrino
memsharded commented 1 year ago

Hi @xubury

Thanks for your question. No, there is no plan at the moment to support wasi-sdk. Not being added to the settings.yml by default is not a problem, it is very easy to add your own settings to it, and maintain, share and distribute the modifications to developers and CI machines: https://docs.conan.io/2/reference/config_files/settings.html#customizing-settings

A different story is that the built-in helpers like CMakeToolchain does support a platform that is unknown to them, depending on the complexity, a few conf values could be enough, but it is also possible that it would be necessary to customize them or to create your own build system helpers to support that platform