How long has this film been in the making

Rating: 5/10 (7 April 2016)

Hello all
Batman v Superman
I've not seen the film yet but have a question to ask you all about it how long has this film been in the making ?
The reason behind my question is I'm sat at home passing time going through my DVDs I just happened to choose a film released in 2007 / 2008
I AM LEGEND
Staring Will Smith The point I am making is in the first five minutes Will is driving a red car through the city jumps out to shoot a dear and along comes a tiger and kills the dear just at this point Will is walking away as the camera pans up and what do I see the batman v superman sign on the side of the building wow now I know I'm not seeing things but if I can still add up that's an advertisement for Batman v Superman from 9 yes Nine Years ago.....