From c517a8fa60016ae0ec190c2c59ee329fff6ffca0 Mon Sep 17 00:00:00 2001 From: Pau Espin Pedrol Date: Tue, 31 May 2022 13:51:42 +0200 Subject: [PATCH] Add top CMakeLists.txt This way the project can be included as a meson subproject in Open5GS. --- 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..d30dbd5 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,11 @@ +cmake_minimum_required(VERSION 3.14.5) + +execute_process( + COMMAND cat ${CMAKE_CURRENT_SOURCE_DIR}/VERSION + OUTPUT_VARIABLE Version + OUTPUT_STRIP_TRAILING_WHITESPACE +) + +project(prometheus-client-c VERSION ${Version} LANGUAGES C) + +add_subdirectory (prom)