PatWie / tensorflow-cmake

TensorFlow examples in C, C++, Go and Python without bazel but with cmake and FindTensorFlow.cmake
Apache License 2.0
439 stars 91 forks source link

ENH: Improve cmake variable conformance for search paths #48

Closed hjmjohnson closed 5 years ago

hjmjohnson commented 5 years ago

Allow for environmental variables to be set (backward compatible) for defining the source and build directories of tensorflow.

Allow configuration without setting enviornmental variables by directly assigning cmake values for TensorFlow_SOURCE_DIR and TensorFlow_BUILD_DIR during cmake invocation or from a cmake GUI.