summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2025-08-01 18:02:18 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2025-08-01 18:02:18 -0400
commitd24ecfd961d01780d4ba360eef14585c194c6232 (patch)
tree8aecfbed0f5f111e37abcfcf313cdb0cd40685f5
parentba0b29093f4f5b55cb11951148266c7f684f52f6 (diff)
downloadsee_defs-d24ecfd961d01780d4ba360eef14585c194c6232.tar.gz
cmake test
-rw-r--r--CMakeLists.txt10
1 files changed, 10 insertions, 0 deletions
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)
+