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

get_filename_component(PARENT_DIR ${CMAKE_CURRENT_SOURCE_DIR} DIRECTORY)
4
get_filename_component(PARENT_DIR ${PARENT_DIR} DIRECTORY)
5 6 7 8 9 10 11
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${PARENT_DIR}/cmake")

project(cxx_go C Go)

include(golang)
include(flags)

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