diff options
Diffstat (limited to 'tinydir-1.2.4/CMakeLists.txt')
| -rw-r--r-- | tinydir-1.2.4/CMakeLists.txt | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tinydir-1.2.4/CMakeLists.txt b/tinydir-1.2.4/CMakeLists.txt new file mode 100644 index 0000000..b4d16e3 --- /dev/null +++ b/tinydir-1.2.4/CMakeLists.txt | |||
| @@ -0,0 +1,15 @@ | |||
| 1 | cmake_minimum_required(VERSION 3.5) | ||
| 2 | |||
| 3 | project(tinydir) | ||
| 4 | |||
| 5 | set(CMAKE_C_STANDARD 17) | ||
| 6 | set(CMAKE_C_STANDARD_REQUIRED On) | ||
| 7 | set(CMAKE_C_EXTENSIONS Off) | ||
| 8 | |||
| 9 | add_library(tinydir INTERFACE | ||
| 10 | tinydir.h) | ||
| 11 | |||
| 12 | target_include_directories(tinydir INTERFACE | ||
| 13 | .) | ||
| 14 | |||
| 15 | target_compile_options(tinydir INTERFACE -Wall -Wextra -Wpedantic) | ||
