It is very easy to build the example applications in the nRF mesh SDK (v2.2.0), but what is the official way to structure the build system when developing an application with the SDK?
The quick and dirty way would be to add a new directory for the application inside the SDK itself, and change the SDK's cmake files so it gets built. There are several issues with this, such as difficulties keeping my app and SDK code separate, tracking changes to SDK files, painful SDK upgrades, etc. But the SDK can't be built as a cmake subproject (with add_subdirectory) because it uses CMAKE_SOURCE_DIR, and the SDK doesn't seem to be able to build a mesh library that I can simply link to from an external project. So I'm struggling to find a sane way to do this — have I missed something?