CMakeLists.txt 486 字节
Newer Older
H
hedaoyuan 已提交
1 2 3 4
# for paddle test case

if(WITH_TESTING)
  add_library(paddle_test_main STATIC TestMain.cpp)
Y
Yu Yang 已提交
5
  add_dependencies(paddle_test_main paddle_proto ${external_project_dependencies})
6
  add_library(paddle_test_util STATIC TestUtil.cpp)
Y
Yu Yang 已提交
7
  add_dependencies(paddle_test_util paddle_proto ${external_project_dependencies})
8 9 10 11
  if(NOT MOBILE_INFERENCE)
    add_library(paddle_gtest_main STATIC paddle_gtest_main.cc)
    add_dependencies(paddle_gtest_main paddle_memory gtest gflags)
  endif()
H
hedaoyuan 已提交
12
endif()