CMakeLists.txt 462 字节
Newer Older
1 2
cmake_minimum_required(VERSION 3.0)

3
get_filename_component(PARENT_DIR ${CMAKE_CURRENT_SOURCE_DIR} DIRECTORY)
4
get_filename_component(PARENT_DIR ${PARENT_DIR} DIRECTORY)
5
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${PARENT_DIR}/cmake")
6

7
project(cxx_go C Go)
8

9 10
include(golang)
include(flags)
11

D
dongzhihong 已提交
12 13
cc_library(paddle_go_optimizer DEPS paddle_optimizer paddle_proto glog gflags)

14
go_library(paddle_pserver_cclient STATIC)
D
dzhwinter 已提交
15 16 17
if(WITH_TESTING)
  add_subdirectory(test)
endif()