Import like-bazel.cmake from https://github.com/wangkuiyi/fluid !232
Created by: wangkuiyi
Fix https://github.com/PaddlePaddle/paddle-mobile/issues/229
I am importing https://github.com/wangkuiyi/fluid/blob/develop/tools/cmake/like-bazel.cmake, which is a simplification of https://github.com/PaddlePaddle/Paddle/blob/develop/cmake/generic.cmake and has been verified working.
After the merge of this PR, we should be able to follow instructions in the updated README.md file to build the C++ program cpp/learn-like-bazel/example.cc
.