diff options
| -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) + |
