CMakeLists.txt 382 字节
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

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