Fork自 PaddlePaddle / Paddle
# for paddle test case if(WITH_TESTING) add_library(paddle_test_main STATIC TestMain.cpp)
add_dependencies(paddle_test_main paddle_proto ${external_project_dependencies})
add_library(paddle_test_util STATIC TestUtil.cpp)
add_dependencies(paddle_test_util paddle_proto ${external_project_dependencies})
if(NOT MOBILE_INFERENCE) add_library(paddle_gtest_main STATIC paddle_gtest_main.cc) add_dependencies(paddle_gtest_main paddle_memory gtest gflags) endif()
endif()