From d24ecfd961d01780d4ba360eef14585c194c6232 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Fri, 1 Aug 2025 18:02:18 -0400 Subject: cmake test --- CMakeLists.txt | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 CMakeLists.txt diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..d6857e5 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,10 @@ +cmake_minimum_required(VERSION 3.12) +project(see_defs C) + +include(CheckFunctionExists) + +#check_symbol_exists(snprintf stdio.h HAVE_SNPRINTF) +check_function_exists(snprintf HAVE_SNPRINTF) + +add_executable(see_defs main.c) + -- cgit