add CMakeList.txt to compile static lib for kcp

This commit is contained in:
raymonwang 2019-04-29 07:24:39 +08:00
parent c8a2f452f4
commit e7545240ea

11
CMakeLists.txt Normal file
View File

@ -0,0 +1,11 @@
PROJECT(kcp)
CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
add_library(kcp STATIC ikcp.c)
add_executable(kcp_test test.cpp)