• Stephen Kelly's avatar
    cmLocalGenerator: Require a valid cmState::Snapshot in the ctor. · 3b880a07
    Stephen Kelly authored and Brad King's avatar Brad King committed
    Refactor the local generator creation API to accept a
    cmState::Snapshot.  Adjust MakeLocalGenerator to use the 'current'
    snapshot in cases where there is no parent.  Create the snapshot
    for subdirectories in cmMakefile::AddSubdirectory.
    This means that snapshots are now created at the point of extending the tree,
    as appropriate, and independently of the cmLocalGenerator and cmMakefile they
    represent the state for.