Can I list the targets exported from a CMake config file, outside of a CMakeLists.txt which uses them?
Summary Issue: Attempting to list exported targets from a CMake config file outside of a CMakeLists.txt file using a simpler CMake command line. Outcome: Not directly possible without invoking CMake in a project context. Root Cause CMake config files (e.g., FooConfig.cmake) are designed to be included in a CMakeLists.txt file. They rely on CMake’s internal … Read more