Merge pull request #200 from raymonwang/master

add CMakeList.txt to compile static lib for kcp
This commit is contained in:
Linwei 2019-04-29 22:21:59 +08:00 committed by GitHub
commit 726b0d0ce9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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)