The generate_documentation function needs assets from the top-level SDK directory. CMAKE_SOURCE_DIR will not point there if building from a subproject like sdk/core/azure-core. Fix this by defining SDK_ROOT_DIR, which is based on PROJECT_SOURCE_DIR. This should always work as long as each subproject calling the function is always 3 levels down, which is currently the case. |
||
|---|---|---|
| .. | ||
| AddGoogleTest.cmake | ||
| AzureBuildTargetForCI.cmake | ||
| AzureCodeCoverage.cmake | ||
| AzureConfigRTTI.cmake | ||
| AzureDoxygen.cmake | ||
| AzureGlobalCompileOptions.cmake | ||
| AzureTransportAdapters.cmake | ||
| AzureVcpkg.cmake | ||
| AzureVersion.cmake | ||
| CreateMapFile.cmake | ||
| DownloadJsonTestData.cmake | ||
| FolderList.cmake | ||
| PerfTest.cmake | ||
| TestProxyPrep.cmake | ||