add_subdirectory: Run subdirectory install rules in correct order
Before this change, install rules created by add_subdirectory() would be executed after all of the top-level install rules, even if they were declared before the top-level rules. This change adds a new policy, CMP0082, which interleaves the add_subdirectory() install rules with the other install rules so they are run in the correct order.
Showing
- Help/manual/cmake-policies.7.rst 8 additions, 0 deletionsHelp/manual/cmake-policies.7.rst
- Help/policy/CMP0082.rst 24 additions, 0 deletionsHelp/policy/CMP0082.rst
- Help/release/dev/install-subdirectory-order.rst 5 additions, 0 deletionsHelp/release/dev/install-subdirectory-order.rst
- Help/variable/CMAKE_POLICY_WARNING_CMPNNNN.rst 2 additions, 0 deletionsHelp/variable/CMAKE_POLICY_WARNING_CMPNNNN.rst
- Source/CMakeLists.txt 2 additions, 0 deletionsSource/CMakeLists.txt
- Source/cmInstallGenerator.cxx 13 additions, 0 deletionsSource/cmInstallGenerator.cxx
- Source/cmInstallGenerator.h 4 additions, 0 deletionsSource/cmInstallGenerator.h
- Source/cmInstallScriptGenerator.cxx 2 additions, 2 deletionsSource/cmInstallScriptGenerator.cxx
- Source/cmInstallSubdirectoryGenerator.cxx 77 additions, 0 deletionsSource/cmInstallSubdirectoryGenerator.cxx
- Source/cmInstallSubdirectoryGenerator.h 41 additions, 0 deletionsSource/cmInstallSubdirectoryGenerator.h
- Source/cmLocalGenerator.cxx 47 additions, 16 deletionsSource/cmLocalGenerator.cxx
- Source/cmMakefile.cxx 4 additions, 0 deletionsSource/cmMakefile.cxx
- Source/cmPolicies.h 5 additions, 1 deletionSource/cmPolicies.h
- bootstrap 1 addition, 0 deletionsbootstrap
Loading
Please register or sign in to comment