diff options
| author | Joseph Hunkeler <jhunkeler@gmail.com> | 2025-08-01 18:02:18 -0400 |
|---|---|---|
| committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2025-08-01 18:02:18 -0400 |
| commit | d24ecfd961d01780d4ba360eef14585c194c6232 (patch) | |
| tree | 8aecfbed0f5f111e37abcfcf313cdb0cd40685f5 | |
| parent | ba0b29093f4f5b55cb11951148266c7f684f52f6 (diff) | |
| download | see_defs-d24ecfd961d01780d4ba360eef14585c194c6232.tar.gz | |
cmake test
| -rw-r--r-- | CMakeLists.txt | 10 |
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) + |
