add sample
copy from http://files.cppblog.com/ownwaterloo/preprocess_only.zip