From e7545240eab7488cdba2f71d7d8b4c5ede48cebf Mon Sep 17 00:00:00 2001 From: raymonwang Date: Mon, 29 Apr 2019 07:24:39 +0800 Subject: [PATCH] add CMakeList.txt to compile static lib for kcp --- CMakeLists.txt | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 CMakeLists.txt diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..d3a1dbd --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,11 @@ +PROJECT(kcp) +CMAKE_MINIMUM_REQUIRED(VERSION 2.6) + +add_library(kcp STATIC ikcp.c) + +add_executable(kcp_test test.cpp) + + + + +