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

H
Helin Wang 已提交
12
go_library(client STATIC)
H
Helin Wang 已提交
13
add_subdirectory(test)