From c6a17225269089fbe1d25e0f0dff7873067094eb Mon Sep 17 00:00:00 2001 From: WYA1110 Date: Thu, 23 Nov 2023 22:47:25 +0800 Subject: [PATCH] add cmakeLists --- CMakeLists.txt | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 CMakeLists.txt diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..90d79e1 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,9 @@ +cmake_minimum_required(VERSION 3.10) +project(smallchat C) + +set(CMAKE_C_STANDARD 99) + +add_executable(server smallchat-server.c + chatlib.c + chatlib.h) +add_executable(cli smallchat-client.c)