• Stephen Kelly's avatar
    export: Add policy CMP0024 to disallow include() of export files · 904ff9fe
    Stephen Kelly authored
    Currently, export() is executed at configure-time.
    
    One problem with this is that certain exported properties like
    the link interface may not be complete at the point the export() is
    encountered leading to an incorrect or incomplete exported
    representation. Additionally, the generated IMPORTED_LOCATION
    property may even be incorrect if commands following the export()
    have an effect on it.
    
    Another problem is that it requires the C++ implementation of cmake
    to be capable of computing the exported information at configure time.
    This is a limitation on the cleanup and maintenance of the code. At
    some point in the future, this limitation will be dropped and more
    implementation will be moved from cmTarget to cmGeneratorTarget.
    904ff9fe
Name
Last commit
Last update
..
CMP0004 Loading commit data...
CMP0019 Loading commit data...
CMP0022 Loading commit data...
CTest Loading commit data...
CompatibleInterface Loading commit data...
CompilerChange Loading commit data...
Configure Loading commit data...
ExportWithoutLanguage Loading commit data...
ExternalData Loading commit data...
FPHSA Loading commit data...
File_Generate Loading commit data...
GeneratorExpression Loading commit data...
GeneratorToolset Loading commit data...
IncompatibleQt Loading commit data...
Languages Loading commit data...
ObjectLibrary Loading commit data...
ObsoleteQtMacros Loading commit data...
PositionIndependentCode Loading commit data...
SolutionGlobalSections Loading commit data...
Syntax Loading commit data...
TargetPolicies Loading commit data...
TargetPropertyGeneratorExpressions Loading commit data...
VisibilityPreset Loading commit data...
add_dependencies Loading commit data...
alias_targets Loading commit data...
build_command Loading commit data...
find_package Loading commit data...
get_filename_component Loading commit data...
if Loading commit data...
include Loading commit data...
include_directories Loading commit data...
include_external_msproject Loading commit data...
list Loading commit data...
target_link_libraries Loading commit data...
try_compile Loading commit data...
variable_watch Loading commit data...
CMakeLists.txt Loading commit data...
RunCMake.cmake Loading commit data...