install(EXPORT): Check for missing file sets at generate time
Missing file sets were originally checked at configure time in install(TARGETS ... EXPORT), but were not checked at generate time. If a file set was added after install(TARGETS ... EXPORT) was called, an abortion error was thrown. Check again at generate time to gracefully display an error message instead of crashing. Fixes: #23680
Showing
- Source/cmExportSet.cxx 30 additions, 1 deletionSource/cmExportSet.cxx
- Source/cmExportSet.h 1 addition, 1 deletionSource/cmExportSet.h
- Source/cmInstallExportGenerator.cxx 1 addition, 2 deletionsSource/cmInstallExportGenerator.cxx
- Tests/RunCMake/target_sources/FileSetExportMissingSetsInterfacePostExport-result.txt 1 addition, 0 deletions...es/FileSetExportMissingSetsInterfacePostExport-result.txt
- Tests/RunCMake/target_sources/FileSetExportMissingSetsInterfacePostExport-stderr.txt 6 additions, 0 deletions...es/FileSetExportMissingSetsInterfacePostExport-stderr.txt
- Tests/RunCMake/target_sources/FileSetExportMissingSetsInterfacePostExport.cmake 6 additions, 0 deletions...sources/FileSetExportMissingSetsInterfacePostExport.cmake
- Tests/RunCMake/target_sources/FileSetInstallMissingSetsInterfacePostInstall-result.txt 1 addition, 0 deletions.../FileSetInstallMissingSetsInterfacePostInstall-result.txt
- Tests/RunCMake/target_sources/FileSetInstallMissingSetsInterfacePostInstall-stderr.txt 6 additions, 0 deletions.../FileSetInstallMissingSetsInterfacePostInstall-stderr.txt
- Tests/RunCMake/target_sources/FileSetInstallMissingSetsInterfacePostInstall.cmake 6 additions, 0 deletions...urces/FileSetInstallMissingSetsInterfacePostInstall.cmake
- Tests/RunCMake/target_sources/RunCMakeTest.cmake 2 additions, 0 deletionsTests/RunCMake/target_sources/RunCMakeTest.cmake
Loading
Please register or sign in to comment