From c1b24ae0293a89ec6de542e4bc48565cbdde46e7 Mon Sep 17 00:00:00 2001 From: dxramax Date: Sun, 10 Sep 2017 15:46:00 +0300 Subject: [PATCH] add cmake support --- CMakeLists.txt | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 CMakeLists.txt diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 00000000..506c820a --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,13 @@ +cmake_minimum_required(VERSION 3.5.0) +project(libjsonparser) + +set(JSON_PARSER_SRC + json.c + json.h +) + +ADD_LIBRARY( + libjsonparser + STATIC + ${JSON_PARSER_SRC} +) \ No newline at end of file