Having recently upgraded to SSDT 2012 I seem to be missing the option to just generate a T-SQL script instead of deploying the database to a server somewhere.
To be
To generate a script from an offline data project in SSDT rather than deploy to a target database, configure the project settings as shown below