Creating Tensorflow C++ headers and libraries for macOS

Note: this is an updated post for Tensorflow 1.6.0   I had some tough times in finding out how to prepare a Tensorflow library package that you can use in your own cmake projects. Tensorflow uses bazel as build system and does not provide a build target yet for creating the necessary C++…