I'm not sure about the construction of this building in particular -- but generally speaking you support the building from an alternative location under it, then you can lift it off the foundation.
https://i.pinimg.com/736x/93/cd/bb/93cdbbe7117f16e89c74e4909...