Drop the barometer from the top of the building and measure the time it takes to reach the ground. Then find the height of the building using second equation of motion.
( this has been already posted in the community shelf )
One who questions training, trains himself only at asking questions.