cmake_minimum_required(VERSION 3.9)
add_definitions(-D_GLIBCXX_USE_CXX11_ABI=1)
project(tensorflowTest)
set(CMAKE_CXX_STANDARD 11)
include_directories(
/usr/local/include/tf
/usr/include/eigen-eigen-5a0156e40feb
/usr/local/include/tf/tensorflow/contrib/makefile/gen/protobuf/include
/usr/local/include/tf/tensorflow/contrib/makefile/downloads/nsync/public
)
link_directories(
/home/yd/workspace/tensorflow/bazel-bin/tensorflow
)
add_executable(tensorflowTest main.cpp)
target_link_libraries (tensorflowTest tensorflow_cc)
target_link_libraries (tensorflowTest tensorflow_framework)
add_definitions(-D_GLIBCXX_USE_CXX11_ABI=1)
project(tensorflowTest)
set(CMAKE_CXX_STANDARD 11)
include_directories(
/usr/local/include/tf
/usr/include/eigen-eigen-5a0156e40feb
/usr/local/include/tf/tensorflow/contrib/makefile/gen/protobuf/include
/usr/local/include/tf/tensorflow/contrib/makefile/downloads/nsync/public
)
link_directories(
/home/yd/workspace/tensorflow/bazel-bin/tensorflow
)
add_executable(tensorflowTest main.cpp)
target_link_libraries (tensorflowTest tensorflow_cc)
target_link_libraries (tensorflowTest tensorflow_framework)