CMakeLists.txt 495 字节
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})
P
peizhilin 已提交
6 7 8 9
  if(NOT WIN32)
    add_library(paddle_test_util STATIC TestUtil.cpp)
    add_dependencies(paddle_test_util paddle_proto ${external_project_dependencies})
  endif(NOT WIN32)
10
  if(NOT MOBILE_INFERENCE)
11
    cc_library(paddle_gtest_main SRCS paddle_gtest_main.cc DEPS device_context memory gtest gflags)
12
  endif()
H
hedaoyuan 已提交
13
endif()