• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright 2017 The TensorFlow Authors. All Rights Reserved.
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7#     http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14# ==============================================================================
15
16########################################################
17# tf_c_framework library
18########################################################
19set(tf_c_srcs
20    "${tensorflow_source_dir}/tensorflow/c/c_api.cc"
21    "${tensorflow_source_dir}/tensorflow/c/c_api.h"
22    "${tensorflow_source_dir}/tensorflow/c/c_api_function.cc"
23    "${tensorflow_source_dir}/tensorflow/c/eager/c_api.cc"
24    "${tensorflow_source_dir}/tensorflow/c/eager/c_api.h"
25    "${tensorflow_source_dir}/tensorflow/c/eager/c_api_debug.cc"
26    "${tensorflow_source_dir}/tensorflow/c/eager/tape.h"
27    "${tensorflow_source_dir}/tensorflow/c/checkpoint_reader.cc"
28    "${tensorflow_source_dir}/tensorflow/c/checkpoint_reader.h"
29    "${tensorflow_source_dir}/tensorflow/c/tf_status_helper.cc"
30    "${tensorflow_source_dir}/tensorflow/c/tf_status_helper.h"
31)
32
33add_library(tf_c OBJECT ${tf_c_srcs})
34add_dependencies(
35  tf_c
36  tf_cc_framework
37  tf_cc_while_loop
38  tf_core_lib
39  tf_protos_cc)
40